Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Smoothas
  • Order by date
  1. Smoothas

    Time sensitive hyperlink. Is it possable ?

    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...
  2. Smoothas

    Time sensitive hyperlink. Is it possable ?

    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...
  3. Smoothas

    Post an XML file to a URL via PHP

    ::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...
  4. Smoothas

    Post an XML file to a URL via PHP

    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...
  5. Smoothas

    Post an XML file to a URL via PHP

    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"))...
  6. Smoothas

    Post an XML file to a URL via PHP

    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 ?
  7. Smoothas

    Post an XML file to a URL via PHP

    Out of interest, how would I turn the above coding into cURL so that it did the same job ? Thanks
  8. Smoothas

    Post an XML file to a URL via PHP

    Hi, how do I install in via pecl?( wil have to bear with me. I'm a COMPLETE noob with it comes to PHP ). Thanks
  9. Smoothas

    Post an XML file to a URL via PHP

    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
  10. Smoothas

    Post an XML file to a URL via PHP

    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...
  11. Smoothas

    Help: Selections in HTML form to wite .doc

    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...
  12. Smoothas

    Post an XML file to a URL via PHP

    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.
  13. Smoothas

    Post an XML file to a URL via PHP

    Hello again. Please can someone help me with code that will pharse an XML file ( test.xml ) to an URL ( www.testwebsite.com/search.asmx ). Thanks
  14. Smoothas

    Display World Wide Web Consortium time/date in XML file

    Hi, Thank last code woeked like a charm. Many Thanks to everyone for your help
  15. Smoothas

    Display World Wide Web Consortium time/date in 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...
  16. Smoothas

    Display World Wide Web Consortium time/date in XML file

    OK, so whhy would assigning it to a variable produce c as an output instead of your results ?
  17. Smoothas

    Display World Wide Web Consortium time/date in XML file

    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
  18. Smoothas

    Display World Wide Web Consortium time/date in XML file

    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
  19. Smoothas

    Display World Wide Web Consortium time/date in XML file

    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...
  20. Smoothas

    Display World Wide Web Consortium time/date in XML file

    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

Part and Inventory Search

Back
Top