Using GD To Create A Thumbnail On The Fly

Mar 27, 2008

I am been playing with tutorials online since yesterday and can't find any to do something I think is very simple.

In PHP, I have the full path to an image saved in variable $filename

How do I use the GD library to generate a 100x100 thumbnail of $filename and display it within my PHP code without having to use more PHP files or writing the new thumbnail image to a permanent location on the drive?

View 2 Replies


ADVERTISEMENT

Create A Zend Id For Your Machine. This Is Apparently For Them To Create A Product Key For Their Software

Aug 7, 2008

Customer has requested the following:

"Create a zend id for your machine." This is apparently for them to create a product key for their software and have to bind to it?!

I have never heard of this and have been unable to locate any information on it.

This is a Centos box with php 5.2.5 installed:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies

how to go about this or even what this is?

View 2 Replies View Related

Create VE Using Ssh

Sep 14, 2007

create virtual environments using ssh

(virtuozzo).

(my host does not give VZCC license)

View 3 Replies View Related

Create A Partition In A Vps

May 15, 2009

How can i create a /tmp partition (as cpanel recomends) in my openvz vps to install cpanel?

Quote:

/tmp 1 GB (1024 MB)
/ Grow to fill disk.

View 1 Replies View Related

Create .tar.gz Archive

Jul 5, 2009

Im in /home/test

i need to create an archive from all test contain.

How can do it?

View 8 Replies View Related

How To Create A VPS COMPANY

May 8, 2009

create VPS PACKAGES under my cent0s dedicated server?

View 14 Replies View Related

Create A New Account In Ssh

Jun 18, 2008

How can I create a new account in SSH? how can I do this for one of our resellers?

we use cPanel.

View 3 Replies View Related

How To Create Vps On Server

Sep 14, 2008

can any body give me pdf or any linki that learn how to create vps on server?

View 12 Replies View Related

Create Subdomain In SSH

Jun 14, 2008

How can create a sub domain for one of our accounts in SSH?

we use cPanel.

View 9 Replies View Related

Create A Database In SSH

May 27, 2008

I have cpanel on my server but my license have some problem and I cannot login to cpanel or WHM , I have root access.

I need to create a Database immediately as same as cpanel create that.

how can I create a database with user and user privileges (same as when I create in cpanel)?

View 8 Replies View Related

How To Create Rules

Mar 15, 2008

i have server windows 2003.

ISS 6.
PHP 5.x
MySQL 5.0

how to create rules with ip/5hit/s is black list and auto ban ip with IPSec.

when test attack file .php
info test :
using code attack files.
attack file test.php ( code files : <?php echo "we are test" ; ?> )
Ex : attack files test.php ( http://mydomain.php/test.php )
attack 200hit/s ( all files .php is not run ) php application is hang.

also wherewith code attack. i tested asp, html. it isn't problem. ( 1879hit/s ) ( good working)

how to create rules ban ip with 5hit/s?

View 2 Replies View Related

How To Create New Directories

Jan 28, 2007

There is no directory for the root account on my server. The server admin tells me this:
"It looks like all the files in there were deleted. I suggest you terminate and recreate the site in order to reset all the relevant directories."

Can any one tell me the ssh command that will do this for me?

View 4 Replies View Related

Create Virtual Ssl

Mar 11, 2007

How may i create virtual ssl?

for example will that you install plesk,all site support of https or ssl

or por 2083 for cpanel

I want create one virtual ssl that was only https for self

my site is robo4u.com(example)

I lesson that we can with openssl but how may?

Config? setting? or ...

View 1 Replies View Related

WHM Cannot Create Accounts And DNS

Jul 5, 2007

I am having issues with my server and WHM. First of all, i followed the link here but i am a bit confused. When i goto add the Assign IP Address button it pops up and says no free ip addresses, i click on Add an A Entry for this Nameserver and the window pops up warning the domain file doesnt exist, it says it creates one and adds the A record.

A few notes, i did change the alternative main ethernet device to venet0:0, and the hostname to myserver.mydomain.net (as well as the actual hostname, so they match in both areas). On clicking next on the initial setup, i enabled the local nameserver. The setup completed and then the problems began.

Another massive issue i have is that i cannot create accounts, i goto create a new account and enter all the information. i hit create and the status says Account Created Sucessfully. However the account isnt listed in the account list, it is however listed in the dns zones (under edit dns).

Checking a few places:

root [~]# cat /etc/nameserverips
90.90.90.90=NS1.MYDOMAIN.NET
90.90.90.91=NS2.MYDOMAIN.NET

root[~]# cat /etc/resolv.conf
nameserver 80.80.80.80
nameserver 80.80.90.80

root [~]# cat /etc/wwwacct.conf
ADDR 90.90.90.90
CONTACTEMAIL email@gmail.com
CONTACTPAGER
DEFMOD x
ETHDEV venet0:0
FTPTYPE proftpd
HOMEDIR /home
HOMEMATCH home
HOST myserver.mydomain.net
LOGSTYLE combined
MINUID
NS ns1.mydomain.net
NS2 ns2.mydomain.net
NS3
NS4
NSTTL 86400
SCRIPTALIAS y
TTL 14400
root@gizmo [~]#

root [~]# cat /etc/named.conf
include "/etc/rndc.key";

controls {
inet 127.0.0.1 allow { localhost; } keys { "rndckey"; };
};

options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
};

zone "." IN {
type hint;
file "/var/named/named.ca";
};

zone "localdomain" IN {
type master;
file "/var/named/localdomain.zone";
allow-update { none; };
};

zone "localhost" IN {
type master;
file "/var/named/localhost.zone";
allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "/var/named/named.local";
allow-update { none; };
};

zone "255.in-addr.arpa" IN {
type master;
file "/var/named/named.broadcast";
allow-update { none; };
};

zone "0.in-addr.arpa" IN {
type master;
file "/var/named/named.zero";
allow-update { none; };
};

zone "ns1.mydomain.net" {
type master;
file "/var/named/ns1.mydomain.net.db";
};

zone "ns2.mydomain.net" {
type master;
file "/var/named/ns2.mydomain.net.db";
};

I am confused about the ns1.mydomain.net and ns2.mydomain.net, surely these should be under one zone file mydomain.net.db? Can anyone please enlighhten me as to why WHM is creating the two zones seperately, or infact is creating as i believe subdomains?

I would like to run custom nameservers, but it says i only have 1 free ip. Do i need to purchase more ip addresses? When i goto 'Show or Delete Current IP Addresses' both my ip addresses are shown 90.90.90.90 and 90.90.90.91, but there is no delete button, it is only a list of the IPs in green.

Are there any fixes i can do, i dont understand why it is broken. How about resetting and performing a reinstall, where is the license file for WHM/cPanel stored, maybe i could move that out of the way, reinstall cPanel then re-register the license. Can i simply reinstall over the top and reset my settings to default?

View 1 Replies View Related

How To...[create Accounts Via Ssh]

May 27, 2007

I have a linux server and permenently I not have access to any control panel. I just need to know:

1 - how I can create accounts via ssh.

2 - how I can create emails for special accounts via ssh?

View 5 Replies View Related

Can Not Create Database

Aug 24, 2007

I am running a small VPS plan. I created one share account and login to cpanel but get some errors.

Can not create database from that cpanel .I don't know what i should do?

View 2 Replies View Related

How To Create A Rollover

Nov 21, 2007

I see all the hosting providers are now offering rollovers, can someone please help on how to setup a rollover? I know you would have to have two different hosting providers using different backbones, but how do you have one provider pull the information to the other provider?

View 4 Replies View Related

/tmp Create/write LINUX

Jun 21, 2009

when i am trying to use php my admin i am getting

#1 - Can't create/write to file '/tmp/#sql_bba_0.MYI' (Errcode: 30)

when i am trying to delete a file from /tmp i am getting
rm: cannot remove `sess_***': Read-only file system

i have Linux box with cpanel,

View 6 Replies View Related

How To Create Additional Ftp User Using SSH

Jun 20, 2009

How can I create additional ftp user using SSH and to give access only to a specified folder for example,

httpdocs/folder1/

View 7 Replies View Related

Create A Separated DNS Server?

Jun 9, 2009

how to create a separated DNS server?

It seems that the LSN DNS servers aren't reaching all of our customers and I've ruled everything out down to DNS.

We have a good VPS ready to take on the task of becoming our DNS servers.

View 2 Replies View Related

How Create A Backup On Cpanel

May 15, 2009

how can i creat backup from my users every 12 houer on cpanel?

in standard mode. cpanel cant do it. it can backup every day.

View 3 Replies View Related

Create Testing Directory

Jan 11, 2008

I have a USB drive with Uniserver, XAMP, and WOS portable webservers installed.

The problem is that I would like to have a "test" directory that is independent of these three servers, but still accessible by typing something like "localhost/test" into the browser, regardless of which package I'm running.

Each server package has its own neat little pros and cons and I'd like to be able to play around with all of them and still have the same common access to the same test directory.

View 3 Replies View Related

How To Create DB/User/Password?

Aug 9, 2008

My VPS has no control panel to do this.

how to create database, user & password for this database and how to restore a db.sql to this database.

View 4 Replies View Related

Create FTP Account Lxadmin

Apr 2, 2008

How can i create FTP account in Lxadmin which doesnt Have @domain.com extension?

by default, lxadmin adds it.

is there any way to create accounts without the domani.com but restricted to a directory?

i have SSH access so anyway it can be done by that?

View 3 Replies View Related

Create One Site On Pc (xampp)

Feb 24, 2008

i install xampp on my pc(my pc is vista)

my ip is static (111.222.333)

i want will time one user enter [url],can see my local
means my local was root server.

View 5 Replies View Related

How To Create Vanity Nameservers

Jan 8, 2008

What do I need to do in order to create vanity DNS for domains hosted on my server? E.g.

I want to use the same IP's but declared them as a different name, that displays the domain being hosted.

Example:

My server's DNS is ns1.server.com and ns2.server.com

I host domain.com

I want it to use ns1.domain.com and ns2.domain.com as the DNS

View 9 Replies View Related

Need To Create A Static Route

Apr 9, 2007

Recently two servers of mine have stopped communicating with each other and I've been told to create a static route between the two, I am using CentOS 4.4 and not sure what the exact syntax would be

I also have the gateway IP which would be needed.

View 1 Replies View Related

Create Dns To Redirect To Some Ip Address

Jun 17, 2008

Not sure where this thread so go, so posted it here! Cause bunnies do not fear mods somedays.

Anyways....

So i wanted to setup say a dns bunny.somedomainihaveisuppose.dom to say my ip say xxx.xxx.xx.xx . , how can you do that in cpanel say or say in whm panel, and is there any script maybe like say no-ip.com guys use, that can do a change mannually whenver you want to your ip?

Why am i not using other 3rd part services, cause a. they charge you to keep your dns name else it expires after few days or something if changes are not made...

So any solution or howto for setting up on your hosting account a dynamic dns kinda service?

View 14 Replies View Related

Mysql Cannot Create File In /tmp

Feb 3, 2008

I always have this error with mysql

Can't create/write to file '/tmp/#sql_7042_0.MYI' (Errcode: 13)

the /tmp has been chmoded 1777. I installed mysql downloaded from rpm on www.mysql.com, version 5.0.51a 64bits for CentOS-5

View 9 Replies View Related

Create Jail Ssh For One User

Jul 18, 2008

i have rhel5 server ( centos5.2)

i want creating new jail ssh for one user

for example take one user and password to my customer,and he can just using of /home/user1

and can`t see another folder and ...
just /home/user1

View 2 Replies View Related

How To Create A VPS On A Dedicated Server

Sep 21, 2007

I have a dedicated server with 160GB hard disk and 1Gb ram

I would like to setup a VPS on my server.

How to do this?

I read somewhere that, freevps.com is providing VPS software for free.

FULL instructions for creating a VPS at no cost.?

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved