![]() |
Playing with PHP, maybe some help.
I am just playing around with some PHP script I found. Already modified it a little but this part I am just not happy with.
PHP Code:
Any ideas? I am not a programmer so for me it is just click and type and play and fail? sometimes it works.. but sometimes it doesn?t |
lets all eat ham?
|
whats $target
|
im confused, what is it not doing?
|
Quote:
|
Quote:
|
$target is the page youre opening..
my suggestion would be to change $target to point to a php page, right now its opening up just the picture.. make it open something like $target = "page.php?image=thumb$jpegs[$picnum]" then make a new php script page.php, and make it show whatever image was passed - ie PHP Code:
|
Quote:
|
Quote:
|
Quote:
|
theres no real way to control it with tags.. youre going to have to do some hefty dhtml work to get it to work the way you want it to, and that wont even work properly with other browsers
right now, youre opening up the image itself.. you cant change the background if u open an image in a new window. you have to point it to a php page, and pass a variable to tell the php script what image to load. in that php script, u can change all the backgound and other goodness |
Hm, ok. I am still confused about it.
on how to implement that code... Here is more of my script... PHP Code:
|
Quote:
PHP Code:
|
Quote:
|
all working... super thanks again... :-)
|
uh huh..
|
Some hahahahahahahahahaha here would enable you to modify the background of the opened window. *sigh*
|
Can't catch the point of the problem...try reading manual for GetImageSize function...
|
All times are GMT -7. The time now is 11:50 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123