PHP processing problems


#1

Hi,

Ever since 4 days before this email, my php has not been processing properly with any new projects that I develop.

When I use $_POST to get variables out of Flash I keep getting errors.

On one script that I was testing with, which is a search engine type script when I use Flash to send the variable to PHP, insteand of searching for the the particular variable and bringing my back my search request i sent using $POST, it returns me the whole database instead.

On the other hand if I test my php scripts without using post but by entering the variable such as $var=“omar”; instead of $var=$_POST[‘omar’]; it runs fine.

Also if use use the $_GET method and communicate with Flash it works fine. It’s just the $_POST that I have been having problems with.

Thanks For Any Help or Suggestions.


#2

Double-posting is punishable by having your lungs pulled out through your nostrils.


si-blog | Keystone Websites
Save $97 on yearly plans with promo code [color=#CC0000]SCJESSEY97[/color]


#3

I thought it was one lung (and one nostril)? Did I miss a memo?

Free unique IP and $67 off with promo code [color=#CC0000]FLENSFREEIP67[/color] or use [color=#CC0000]FLENS97[/color] for $97 off. Click here for more options


#4

I figured out the problem and it happened to be flash related.

I recently just changed my domain to link to www as before i had it linked to a “non-www” domain but i dint change my addresses in flash.

That’s why $_POST wasn’t working and $_GET was: because the $_GET function was only loading back from the php script where as the $_POST was sending to the server that I was trying to connect to which had the wrong address to begin with.