Jump to content

Sending a URL in my parameter list


AnnePel

Recommended Posts

Hi:

 

I'm not a php programmer but I'm slowly learning out of necessity.

 

I am sending several parameters to my index.php and everything works well until I try to send a URL.

Then I get a 403 error. I am on Hostgator and their support wasn't helpful because the guy I chatted with didn't know php.

 

Here is an example of the URL that I am using...

 

http://00001.example.info/index.php?Property_Address=exampleaddress&Mobile_Listing_URL=http://www.exampleurl.com/

 

Hopefully there is a simple solution.

 

Thanks in advance.

 

Anne

Link to comment
https://forums.phpfreaks.com/topic/284727-sending-a-url-in-my-parameter-list/
Share on other sites

There's a good chance they have something like mod_security (for Apache) installed. One of the things it can do is 403 a request if it contains something that looks bad, like "http://" in the URL.

Assuming you can use .htaccess files you could actually disable that particular rule, but simply removing the "http://" is a perfectly reasonable solution since it's implied anyways.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.