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?
"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 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)
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?
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).
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?
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?
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.
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
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?