Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.