Development Articles
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOtherDevelopment Articles

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #136  
Old December 1st, 1999, 08:15 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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 

Reply With Quote
  #137  
Old December 1st, 1999, 11:28 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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).

Reply With Quote
  #138  
Old December 1st, 1999, 11:33 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: function mysql_connect()

binry = the BINARY... foo!

Reply With Quote
  #139  
Old December 5th, 1999, 05:46 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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

Reply With Quote
  #140  
Old December 5th, 1999, 08:39 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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.

Reply With Quote
  #141  
Old December 5th, 1999, 08:41 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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)?

Reply With Quote
  #142  
Old December 5th, 1999, 08:42 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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.

Reply With Quote
  #143  
Old December 5th, 1999, 08:43 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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?

Reply With Quote
  #144  
Old December 5th, 1999, 08:45 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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.

Reply With Quote
  #145  
Old December 6th, 1999, 08:38 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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>

Reply With Quote
  #146  
Old December 6th, 1999, 09:52 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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.

Reply With Quote
  #147  
Old December 7th, 1999, 05:06 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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

Reply With Quote
  #148  
Old December 7th, 1999, 03:49 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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?

Reply With Quote
  #149  
Old December 7th, 1999, 09:48 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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???

Reply With Quote
  #150  
Old December 8th, 1999, 07:38 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDevelopment Articles > Setting Up Database Driven Websites

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap