javascript variables in PHP?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
tyrannus
Forum Newbie
Posts: 1
Joined: Sat Jun 26, 2004 7:32 pm

javascript variables in PHP?

Post by tyrannus »

I've got an existing javascript which i want to use in conjuction with a php script to resize an image... is this possible? i'm starting to doubt it since the server side would execute before the client side no? if that can be done, can it be done the other way around? accessing a PHP variable in javascript?
TIA
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

We have excellent tutorial written by infolock on this topic. Read it here: viewtopic.php?t=22620 . Next time it would be better to search forums first. Your question was answered numerous times before.
Post Reply