Website trama

Miscellaneous Forums/General Discussion/Website trama

Hey, i'd call myself decent at programming in java, C++, and basic (like blitz), but when it comes to php and html, and website stuff in general, i suck.

So i'm trying to figure out here, i've got a hosting service, and 5 SQL databases.

how would i get some php source working?

at the moment, i used a FTP client to throw all the source files (from a website developer) on the disk... i think i'm suppost to do something with the SQL database now.. (currently staring at the admin panel)

i've tried to go to www.[mydomain].com/index.php and i tried www.[mydomain].com/page.php (one of them has to be the main source right?)

then i tried the plain www.[mydomain].com

still shows a blank page.

so can anyone point me in the right direction?

Edit- i'm waiting for the developer to help me, but i thought i'd toy with it a bit and try to figure it out myself, thats why i came here, see if you guys know alot about this, or if you're like me and don't know night from day.

Try this, create a file called "index.php"

<?
echo "Works.";
?>

If you get a blank page check your webserver installation.

success.... page displays "Works."


side note, i'd like to pick up on this php stuff, it doesnt seem to hard to learn.

Any free IDE's out there? I can FTP the files up to the host.

Any free IDE's out there? I can FTP the files up to the host.

Get eclipse PDT plus the aptana plugin (for javascript, css and ftp stuff).

It's what I use at work and I don't know how I lived without it.

hmm i'm here- http://www.eclipse.org/downloads/

i see no php stuff?

there's free PHP video tutorials on www.3dbuzz.com

here's the direct link:
http://www.3dbuzz.com/vbforum/sv_dl_list.php?c=6

to download, you might need to register for a free membership.
I've watched all of them, and they give you a great introduction to PHP and database usage via PHP.

:P just make sure you filter your parameters or people can exploit your PHP.

yeah, every time you accept user data through cookies or forms, run it through some kind of scrubString() function to remove the ability to inject code where none is expected.

scrubString() was ofcourse just an example.. I believe PHP has several removeSlashes() and removeSomething() functions buildt in.

"Could not get login ID" is what i get after i registered and try to click on the link.. same with getting there manualy.

http://download.eclipse.org/tools/pdt/downloads/index.php

Bookmark this site: http://www.php.net/docs.php

Use this to edit HTML/PHP: http://notepad-plus.sourceforge.net/uk/site.htm

basic (like blitz), but when it comes to php and html, and website stuff in general, i suck.


Question here. So i could be very wrong on this. But Blitz3d is C, right?

if so, i heard that php code IS C code. Is that true?

Blitz3d is a BASIC derivative.

The only thing C & PHP have in common is a similar syntax structure.

Yahfree,

if you add

<?
header("location: http://www.goldstarpcgames.com")
?>

at the top of all your pages its going to get me*ugh* you more visitors. ;P