Terminator3d
-
Posts
3 -
Joined
-
Last visited
Never
Posts posted by Terminator3d
-
-
Ive now altered the links into a format like:
http://www.mysite.com/view_value/all/1/1
Now Im getting the following 404 error:
The requested URL /view_value/all/1/1 was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
My htaccess file looks like:
Options +FollowSymLinks
RewriteEngine on
RewriteRule view_value/(.*)/(.*)/(.*)/$ /view_value.php?tn=$1&order=$2&page=$3
Any ideas where im going wrong at all?
Thanks -
Hi guys im new here so please be nice :P
Ok im having some problems with understanding how htaccess files work with php. Ive written a site in php which uses dynamic content so I want to rewrite the querystrings.
As it stands within the php code ive written it so the URLs are outputted with the format:
http://www.mysite.com/view.php?tn=all&order=1&page=1
And im after something like:
http://www.mysite.com/view/all/1/1
Do I need to modify the format I output these URLs within the php....or does the htaccess file do everything?
As it stands ive got:
Options +FollowSymLinks
RewriteEngine on
RewriteRule view/(.*)/(.*)/(.*)/$ view.php?tn=$1&order=$2&page=$3
Can anyone help me out with this please? Ive been trying to get this working a while and arent sure what im doing wrong. Everything I try either doesnt work or gets a server error.
Thanks in advance.
Parse XML File from external website/domain
in PHP Coding Help
Posted
Hi Guys,
This is driving me crackers so could do with some help please.
Im trying to parse an xml file from an external domain/website using php. This xml is stored on a https connection and Im not provided with a direct link to the file (Eg. www.example.com/getXMLfile.php?type=xml&connection=https). When opening the link the xml file starts to download but I want to parse the file directly on the remote server.
Does anyone have an example of where they have done this, or something similar before please?
The xml is quite chunky in size too so dom / xpath solutions are out of the question.
Thanks,
Terminator3d