Forum: PHP Oct 7th, 2006 |
| Replies: 1 Views: 1,422 Try something like this:
$size = getimagesize ("path_to_original_image");
$mini = imagecreatetruecolor(100,100);
$orig = imagecreatefromjpeg ("path_to_original_image");
... |
Forum: PHP Oct 3rd, 2006 |
| Replies: 6 Views: 5,533 Hi,
Whats so bad in displaying the form again? If a input field is empty, you just give it a value like value="Please fill out this field". I think most sites do it like that, and message boxes... |
Forum: PHP Aug 22nd, 2005 |
| Replies: 2 Views: 1,669 Maybe your desktop firewall is blocking cookies?
Michael |
Forum: PHP Aug 7th, 2005 |
| Replies: 3 Views: 1,938 Where exactly lies the problem? |
Forum: PHP Apr 25th, 2005 |
| Replies: 4 Views: 1,586 I personaly would start by going to the public library and check what books they have on the subject. You can save a lot of money that way, since IT-books are expensive. Books are the best way to get... |
Forum: PHP Mar 27th, 2005 |
| Replies: 3 Views: 24,006 Is this a creation of your own? Because I haven't seen it yet.
Michael |
Forum: PHP Feb 7th, 2005 |
| Replies: 3 Views: 7,466 What does the action attribute of the form - tag say?
Michael |
Forum: PHP Dec 15th, 2004 |
| Replies: 2 Views: 2,371 You can pass variables in a hyperlink like that:
h**p://www.something.com?var1=set&var2=unset etc...
In the target of the hyperlink you can get the variables with the $_GET variable, for... |
Forum: PHP Dec 13th, 2004 |
| Replies: 1 Views: 1,639 You could use MySQL to count the votes, or, easier and if you don't have too many websites the users can choose from, you could just put them in a txt-file. The percentage-thing is just simple... |
Forum: PHP Dec 8th, 2004 |
| Replies: 9 Views: 3,396 I think the OT mentioned php, but hey, we are talking, and he isn't even responding.
Michael |
Forum: PHP Dec 8th, 2004 |
| Replies: 9 Views: 3,396 For the client, it's no difference whether the script is parsed on the server (php) or runs on the client (JavaScript).
Michael |
Forum: PHP Dec 8th, 2004 |
| Replies: 2 Views: 2,315 I guess that's the problem, try:
fputs($fp, $_POST["mail"];
I don't think you need this, but where's the ?> ? |
Forum: PHP Dec 7th, 2004 |
| Replies: 1 Views: 1,854 1st of all I can't find your <form action="..." method="post"> tag in your code?
Here you should find the infos you need:
http://www.thesitewizard.com/archive/phptutorial2.shtml
Michael |
Forum: PHP Dec 6th, 2004 |
| Replies: 9 Views: 3,396 What if JavaScript is disabled?
@cheesywan
You can find your answer in probably every PHP-tutorial. If you send your form with the <form action="script.php" method="post"> tab, then you'll get... |