Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Translation help please
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Translation help please

 Post Reply Post Reply Page  <123
Author
pmormr View Drop Down
Senior Member
Senior Member


Joined: 06 January 2003
Location: United States
Status: Offline
Points: 1479
Post Options Post Options   Thanks (0) Thanks(0)   Quote pmormr Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2004 at 3:04pm
i have a better idea... why don't you just tell me exactly what this code is doing and i'll rewrite it in ASP instead of trying to translate from a language that i'm unfamiliar with
Back to Top
huwnet View Drop Down
Senior Member
Senior Member


Joined: 30 May 2003
Location: England
Status: Offline
Points: 1375
Post Options Post Options   Thanks (0) Thanks(0)   Quote huwnet Quote  Post ReplyReply Direct Link To This Post Posted: 15 February 2004 at 1:29pm
Ok this script connects to the HTML page with my statistics at grid.org (the full address is in the PHP script) and then displays them.
Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 15 February 2004 at 2:40pm
All variables in PHP need to be prefixed with a $... thats what its for.
Back to Top
huwnet View Drop Down
Senior Member
Senior Member


Joined: 30 May 2003
Location: England
Status: Offline
Points: 1375
Post Options Post Options   Thanks (0) Thanks(0)   Quote huwnet Quote  Post ReplyReply Direct Link To This Post Posted: 10 April 2004 at 5:29am
Originally posted by pmormr pmormr wrote:

i have a better idea... why don't you just tell me exactly what this code is doing and i'll rewrite it in ASP instead of trying to translate from a language that i'm unfamiliar with


What is the status of this?
Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 10 April 2004 at 8:02am

You can do it in .net  with 2 lines of code:

Dim wc As New System.Net.WebClient

Response.BinaryWrite(wc.DownloadData("http://www.whatever.co m"))

Back to Top
Semikolon View Drop Down
Senior Member
Senior Member


Joined: 09 September 2003
Location: Norway
Status: Offline
Points: 1718
Post Options Post Options   Thanks (0) Thanks(0)   Quote Semikolon Quote  Post ReplyReply Direct Link To This Post Posted: 10 April 2004 at 8:22am

ASP

<%
Dim
objXMLHTTP
On Error Resume Next
Set objXMLHTTP = Server.CreateObject("Microsoft.XMLHTTP")
objXMLHTTP.Open "GET", "address", False
objXMLHTTP.Send
If ErrNum <> 0 Then
 Response.Write(vbCrLf & "<font size=""3"" color=""#FF0000""><strong>")
 Response.Write(vbCrLf & " Failed to contact the server!!")
 Response.Write(vbCrLf & " <br />Please check your internet connection and try again.")
 Response.Write(vbCrLf & "</strong></font>")
Else
 Response.Write(objXMLHTTP.responseText)
End If
Set objXMLHTTP = Nothing
%>



Edited by Semikolon
Back to Top
 Post Reply Post Reply Page  <123

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.