Advertisement
 

Membership

 

Advertisement

 

Search

 
Forums \ General forum \ MySQL help - how to do it online?
3 months ago

LML

(Forum moderator)
MySQL help - how to do it online? (491 reads, 14 replies)
yo,
so, after learning html past weekend, I am doing php this weekend.
Tho, I have xampp with apache on my laptop, so I can see the results local, but my freewebs account only supports html pages and doesn't know php files.

So, does any1 know a good free webspace hoster where I can upload php and it will work?

Thanks in advance.


//MySQL question in reply #9
Quote  
 

3 months ago
#1

Jortikka

  2
awardspace.com i used to have a page there
Top of the page   Quote  

3 months ago
#2

Genie

(WarCraft Editor)   13
Most spaces that have ASP or PHP support got advertisement on them, but for a 'practice' point of view, I'd say that's ok. You can find something that fits you here:

http://www.free-webhosts.com/free-php-webhosting.php

Anyway, isn't it a little too short with only one week of HTML? :P PHP includes kind of alot of knowledge in HTML, but I guess you can learn both side by side and evolve time by time.

Good luck, it's alot of fun to code PHP
Top of the page   Quote  

3 months ago
#3

LML

(Forum moderator)   18
well, I know the basic stuff for html/css to create a nice layout and put the needed stuff inside.
and php is rather easy so far cuz I know C++ basics.

edit: so, #1, I've tested the page, registered, uploaded index.php (which was pretty hard to get the stuff running...) and checked it, it all works fine, the functions work.
So, I've a free .tk domain and I want to link to this one, but I don't know where to get the link for this? If I preview a domain of the ones I've entered there (a bit messy the page lol) I can watch it, but that link won't get accpeted by .tk o,o
if you still know, thanks in advance.
Tho, I am registering on a nice ad-free page of Genie now.
Top of the page   Quote  

3 months ago
#4

Genie

(WarCraft Editor)   13
You should log in to you .tk account and forward the address to the full address of your web hotel. (E.g. http://www.awardspace.com/LML/index.php)
Top of the page   Quote  

3 months ago
#5

LML

(Forum moderator)   18
sad thing is, it doesn't work that easy o,o awardspace seems a bit messy and I didn't rly get it now yet.. with all their stuff of subdomain, extra-domain and whatnot, which all is confusing and not rly working the way I want it to.
So, http://www.awardspace.com/USERNAME/index.php doesn't exist:/
Top of the page   Quote  

3 months ago
#6

Genie

(WarCraft Editor)   13
So what's the full address of to your index.php?
Top of the page   Quote  

3 months ago
#7

LML

(Forum moderator)   18
it won't let me get the address, since it just shows the files as name, no links.
If I wanna preview it starts as preview4.adwardspace.com/ etc., and that page doesn't work from outside:/
Top of the page   Quote  

3 months ago
#8

PdK.Scary

  5
http://www.tripod.lycos.com/

http://www.tripod.lycos.co.uk/
Top of the page   Quote  

3 months ago
#9

LML

(Forum moderator)   18
ok, so thanks to a friendly gg.net member who made an ftp server I now can host php sites, and it works.
Tho, now I also got a myPHPadmin from him to handle my mysql databank, but the problem is.. how do I get my stuff working online? local it all works fine, the columns from my table in my databank are shown on my php side, but not online... nor can I just link to the myPHPadmin stuff, it shows error: "Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'http' (1) in /var/www/virtual/expeditiondelta.com/htdocs/lml/index.php on line 4"

it also won't work to just copy it on the ftp, and if I try to copy the whole MySQL folder, it doesn't work properly with copying it (neither do I know if it would work then:o ).

Thanks in advance.
Top of the page   Quote  

3 months ago
#10

PdK.Scary

  5
looks like you need to configure your connection string

what do you have in the 4th line of your index.php?
Top of the page   Quote  

3 months ago
#11

LML

(Forum moderator)   18
= mysql_connect("http://admin.dvsoft.org/tools/pma/index.php?token=db62b0c66c816b854b1533a828ad8f39&db=lml_9","*USERNAME*","*PASSWORD*");

well, that URL was put experimantal, cuz I don't rly know the URL to the databank itself:/ it isn't shown anywhere -_-;
Top of the page   Quote  

3 months ago
#12

PdK.Scary

  5
in every server you host a site with a database, you will need to receive from the hosting company the connection string.
ask your friend for that.

it can be something like:
mysql.yourFriendServer.com:8899

i dont know if its possible, but maybe phpmyadmin shows it to you somewhere.

if he doesnt know how to get that connection string, he will need to read a help file in his mysql folder. they usually have a standard string if you dont commit any changes.


Top of the page   Quote  

2 months ago
#13

Nb.Toti

  3
buy it !
it costs u couple of euro monthly but u get support, fast connection, much more features and most important no adv.
U can do that taxfree ofc but u need to install a our own webserver on your machine and run it nonstop. But u you are going to learn much more than using some provider

btw. php is for lames. very old,slappy and unsecure technology. U will be hacked every week. I recomend u to use java with Java Server Faces and Facelets. So u can write .xhtml pages very easy. And appropriate framework for that would be seamframework.org. They use hibernate validators and EJB3. Its the newest thing. Ofc u can intergrate your mysql tables and u can be ok. For Deployment u can use jBoss Application Server or Tomcat

gl
Top of the page   Quote  

2 months ago
#14

echobash

  4
= mysql_connect("http://admin.dvsoft.org/tools/pma/index.php?token=db62b0c66c816b854b1533a828ad8f39&db=lml_9","*USERNAME*","*PASSWORD*");


lol ? you are trying to connect to the pma URL ....

try something like


mysql_connect("localhost", .....) if the mysql server is on the same box.

check php docs for the mysql_connect info - im pretty sure the URL it takes or accepts, arnt HTTP urls sir.
Top of the page   Quote  

Forum post
  • Do to others what you would have them do to you.
  • Do not judge so that you will not be judged.

    » Read posting rules in detail

    Reminder: IP-addresses for each comment is saved. Offensive posts will be censored. Repeated offense will result in a warning and/or a temporal lockdown of the account.
  • MySQL help - how to do it online? \ Reply
    To submit a post, you have to be a registred member. Register an account below the title 'Membership' in the left menu.

    » Top of the page