The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Other
> Development Articles
|
Page 10 -
Setting Up Database Driven Websites
Page 10 - Discuss Setting Up Database Driven Websites in the Development Articles forum on Dev Shed. Setting Up Database Driven Websites Development Articles forum discussing articles and tutorials located at http://www.devshed.com. See what our authors have created for your viewing pleasure.
|
|
 |
|
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

December 1st, 1999, 08:15 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: libphp3.so ???
Under "Installing PHP", I modified the "apxs" path for Red Hat Linux 6.1. "make install" still failed, so I copied "libphp3.so to "/usr/lib/apache" directory.
Everything works great now. The code below works without error on my system. Good luck.
Code:
$ cd /tmp
$ tar -zxvf php-3.0.7.tar.gz
$ cd php-3.0.7
$ ./configure --with-apxs=/usr/sbin/apxs
--with-config-file-path=/etc/httpd
--with-mysql
--with-system-regex
|

December 1st, 1999, 11:28 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
javascript/php
Javascript relies on the client-side browser being able to understand the script. So if you're aiming for near universal compatibility a server side solution using some submitted form contents might be better suited. Javascript is good, however, in that it can instantly output the result to an input box without needing any server access (although input boxes looks dog face ugly without some CSS). So perhaps a PHP>APACHE query of the browser and write some different code would be the best way. You may want to consider writing a Javascript for IE4+/Mozilla that writes the answer into a DIV so that the answer can't be altered (unlike an input box).
|

December 1st, 1999, 11:33 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: function mysql_connect()
binry = the BINARY... foo!
|

December 5th, 1999, 05:46 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Adding data..advice rqd
Hi,
I remotely run, via a secure Telnet session, an Apache / Freebsd webserver, and am going to be implementing a PHP/Mysql solution. I'm unsure of how much data I need to input, but as I'm sure you'll appreciate - I don't want to have to enter it line by line in the telnet session.
Are there any Web Interfaces that can help me create Mysql databases?
Can anyone suggest a "local" solution for me to try in Windows?
I'd be grateful for any feedback, for a beginner in all this.
Cheers,
Will
|

December 5th, 1999, 08:39 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: Adding data..advice rqd
You can have all the data you want to input in text file, upload the text file to your server and import it into mysql.
|

December 5th, 1999, 08:41 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: Help please!
Do you have mod_php installed already (check by running rpm -qa | grep php)?
|

December 5th, 1999, 08:42 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: mysql_connect failure.. please help!
That means you don't have MySQL support compiled into PHP.
|

December 5th, 1999, 08:43 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: On the Server PHP Ok But Browser No
Do you have the proper AddType directive in your httpd.conf to handle PHP files?
|

December 5th, 1999, 08:45 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: MYSQL Update statement
How many sets of <form></form> tags do you have? From what you are describing, you should have one for each line of data on your page.
|

December 6th, 1999, 08:38 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: Help please!
Thanks for the reply, i dont have mod_php installed. I don't have time to fool around with it for quite i while now. I think my next go with php gonna be with a solaris 7 box that don't have apache or php installed before.
<br>
Thanks any way / Thomas
<br>
<br>
<br>
|

December 6th, 1999, 09:52 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: MYSQL Update statement
The way I figured out how to handle this is to have each row displayed have it's own <form>...</form> . That seems to fix the problem. I was looking for a way to have all displayed rows in one <form>...</form> but couldn't figure out a way.
|

December 7th, 1999, 05:06 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Can't get GRANT command to work
I've tried everything to get the grant command to work. I have root access and it is installed on my machine. I am using the windows version. Is this something I have to set up and if so, how? or is there something I am missing. Thanks in advance - Chris
|

December 7th, 1999, 03:49 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: ## Works! But no DB connect. =( ##
Don't make fun of me if I'm wrong...
have you tried to run mysqld before trying
to connect?
|

December 7th, 1999, 09:48 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Redhat 6 can't start server!
I've been trying to install mysql, i've followed the instructions to this tutorial, and also tried to compile the source code myself, and when i run the
<!-- Code -->
<p><pre><font color=#008000><xmp>mysql.server start</xmp></font></pre><p>
<!-- Code -->
the daemon starts up, and the quits out right away. why???
|

December 8th, 1999, 07:38 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Trying to execute a test file under the MySQL prompt
I have created a file and upload it to my directory and I am know trying to execute it under a mysql prompt. The file creates about 2000 lines of insert statements to populate a database. can any one help..
Thank you
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|