I assumed server side was the correct termninology to use.
if not, then please disregard this part of the question.
I just wanted to know if it was possable to create a time sensitive hyperlink based on when and indiviual clicks a button .
Once the specifed time is up, the link points to a...
Hello,
I'm trying to write a webpage that will create a time sensitive hyperlink to a document.
Once the time is up, then access to that document via that link is lost ( possably with an error message page instead of the document ).
A new link can be requested to the same file ( by going...
::UPDATE::
I've worked out the addHeader problem, I think ( as I'm not getting an error message now ), but I am now being told that :-
Fatal error: Call to a member function getMessage() on a non-object in test.php on line 203
( Line 203 reads :- echo $response->getMessage();).
line 202...
hello,
I must admit i skimmed the manual rather than reading it. My fault. sorry. Learning one programming language on the fly is one thing, but 2 is quite a different kettle of fish and might just fry my brain in the state that it's in at the moment.
Thought help from my ISP i've got PEAR...
seeing that you are championing cURL, how would i "cURL"ize the code I have so far to do the same job:-
>>>>
$req = new HttpRequest($url, HTTP_METH_POST); //this line changed
$req->addHeaders(("POST /webpage.asmx HTTP/1.1"));
$req->addHeaders(("Host: ws.webpage2.co.uk"))...
it turns out i cant get root access to the server ( it's a 3rd party host, and other pages are looked after by the same unit ).
I've been trying to load PEAR up via ftp to get httprequest installed, but am having trouble getting the php page to install.
Any ideas ?
Hi jpadie,
Thanks for point out my error. A freash pair on eyes on a problem always seems to help.
I made the change, but i get a new error now. It says :-
Fatal error: Cannot instantiate non-existent class: httprequest in d2xml.php on line 192.
Ant ideas on that one ?
Thanks again
Hello,
Thank for the cURL tip, I'll look into that, but I need to look at getting this done using normal PHP for the moment.
I've been trying to use the HttpRequest::METH_POST command, but I get a error back saying :-
Parse error: syntax error, unexpected ')', expecting '(' in d2xml.php on...
Hello,
I'me trying to find out if its possable for a webpages form ( consising of YES and NO options ) to construct a Word Document for download based on the users selections.
I've already had help in contruction something similar ( creating a xml file via PHP code, and a page that displays...
Hi.
I have an XML form that I need to send to a URL so they can read it and then return the results back to my webpage in the form of another XML file.
I've seen what i've done, ther were t Date varables ( one was in the "old" format, the other in the new one ) and one was counteracting the other.
Thanks, the date ect comes out as you have showen.
How can I get it looking like :-
2009-10-01T16:16:59.0156250+01:00
instead of the "uP" at the...
HI,
I cut'n'pasted the above line into my php codeing and got the following output when viewing the created file :-
<CrqDateTime>c</CrqDateTime>
What could be going wrong then if you code cannot produce a c as output? Could my ISP have a version of PHP even older than 5 ?
Thanks again
Hi Feherke,
I tried it the second way but still get a little c as the output.
I'm just trying to past the date/time etc in the format i mentioned in my original post.
The XML file i'm trying to create needs the date in this particaulr formated when past to another system.
Thanks again
Hello,
Thanks for your help,
I've tried what you said but I get " c " come out instead.
I'm trying to assign it to a variable :_
$CrqDateTime = date('c');
and then call it up later when writing to a file
$xml_document .= $CrqDateTime;
Am I also planning on using it as part of the...
Hello,
I'm trying to display World Wide Web Consortium time and date into an xml file.
I've been trying mktime() and getdate(), but I'm not getting the format i require :-
2009-10-01T16:16:59.0156250+01:00
Can anyone help ?
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.