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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

asp to php 1

Status
Not open for further replies.

derwent

Programmer
May 5, 2004
428
GB
I have had a site on an asp server for some time but now need to move it to php.

I`m not good with php, can someone point me in the right direction please?

I am using this

Code:
if request.querystring ("version") = "text" then
response.write "some html"
else
response.write "some html"
end if

is there a php equilavent?

thanks folks
 
thanks matey, may learn some php, will it be quick to learn seeing as I know asp?
 
PHP is a bit C like, lots of curly braces and stuff. I presume when you say asp you mean vbscript ? (as your example is). PHP doesn't have things like end if or then. The key is knowing how to program just mapping the standard concepts of loops, selection etc
 

That might help you a bit, until you learn enough PHP to convert everything by hand (which I highly recommend doing by hand, as it means cleaner code).

----------------------------
"Security is like an onion" - Unknown
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top