problem with modifying php script

Links for php scripts

Moderators: macek, egami, gesf

Post Reply
mbrother
New php-forum User
New php-forum User
Posts: 45
Joined: Thu Sep 15, 2011 1:09 pm

Re: problem with modifying php script

Post by mbrother » Sat Dec 24, 2011 5:27 am

And this gets used how? Can you show the "using" page? Your PHP code is designed to be "called" by another page. For example, presume the script you posted is called "generateimg.php". Then you need to have another page (call it MyImageUsingPage.php) where you should have an image tag like:

Code: Select all

<img src="generateimg.php">
to actually render the image you're generating.

If you're putting that PHP script in the middle of a regular page, I could understand why things would not go too well. Is that what you're doing?

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests