RE: [PHP-DB] Showing an image

2001-07-02 Thread Beau Lebens
what you should actually do is save that script as something like image.php and then on the page where you want to have text + images, do something like html body img src=image.php?uid=xxx border=0br I am some text under the image that is grabbed from the DB /body /html assuming that the

Re: [PHP-DB] adding Carrol O'Conner in a form

2001-07-02 Thread Dobromir Velev
Hi, The slash is added because you have magic_quotes_gpc() turned on in your php configuration file - when magic_quotes are on, all ' (single-quote), (double quote), \ (backslash) and NUL's are escaped with a backslash automatically. You can turn this configuration directive off or you can use

[PHP-DB] Oracle password funtion?

2001-07-02 Thread Robert Boehrs
Hi, i was wondering if there's a funktion within oracle for md5 encryption of a string, like there is in mysql (password()). Best Robert -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP-DB] Oracle Replication via PHP

2001-07-02 Thread TathitSA
Hi all, Is it possible to replicate Oracle server to other Oracle servers via PHP? I'll make an example to make it clearer: There is one web server (Apache) and two database servers (Oracle) for example Ora1 and Ora2 all are in 1 LAN. All requests are through Apache and with PHP scripts, the

Re: [PHP-DB] define variable by querying MySQL

2001-07-02 Thread Dobromir Velev
Hi, I'm not sure what were you trying to do but there are some very obvious errors 1. You cannot embed one php openning tag (?) in another 2. mysql_numrows() is not a valid mysql function - may be you were trying to use mysql_num_rows() If you are trying to put all fields my_name into the

[PHP-DB] wht ide ?

2001-07-02 Thread kachaloo
Hi, I am using Php Coder and was wondering wht ide others are using ? Vishal - Original Message - From: Beau Lebens [EMAIL PROTECTED] To: 'kachaloo' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, July 02, 2001 1:14 PM Subject: RE: [PHP-DB] Showing an image what you should

RE: [PHP-DB] Executing several PHP scripts simultaneously??

2001-07-02 Thread Michael Rudel
Hi Lisa, ... on *nix you could use exec( /path/to/php/php.exe your-first-php-script.php ) note the ampersand at the end of the command ... this will start the task in background, so you can do other things while the script is running in the background. Hope this helps, Mike Michael Rudel -

Re: [PHP-DB] Which state and country?

2001-07-02 Thread Tom Carter
This can give a fair idea of where that person has come from, and if they are international then the country may be obvious. I would be very surprised if you could collect meaningul information about which state they are tho. In my experience, however, lots of hosts turn off reverse DNS

Re: [PHP-DB] Showing an image

2001-07-02 Thread kachaloo
Hi, Thanks ! I get it now Regards, Vishal - Original Message - From: Beau Lebens [EMAIL PROTECTED] To: 'kachaloo' [EMAIL PROTECTED] Sent: Monday, July 02, 2001 3:56 PM Subject: RE: [PHP-DB] Showing an image don't really know what you are doing here, the form that you have is

Re: [PHP-DB] adding Carrol O'Conner in a form

2001-07-02 Thread John S. Huggins
On Sat, 30 Jun 2001, Ken Sommers wrote: -but how do I get rid of that pesky slash \ ? - -so I can echo exactly what the user typed in? - Try: stripslashes() -I am already using: - - ?php echo(htmlspecialchars ($name, ENT_QUOTES)); ? - -Thanks for the help, - -ken -

[PHP-DB] where is my mail going..

2001-07-02 Thread Jaskirat
I dunno what is happening to my mails sent to this list .. the one i sent a few days ago showed up after 48 hours or so and the last one I sent two days ago is yet to come .. This one I am sending at 2 pm GMT 2 - July 2001 .. as a test mail. jaski -- PHP Database Mailing List

Re: [PHP-DB] cites/states data

2001-07-02 Thread Jaskirat
Hi Again, I am building a simple php page which has this functionality. 1)It asks user to select his/her country 2)Then Select State 3)Then Select City For the above functionality I have built a MySQL Table which has these fields place_id , parent_id, place_name place_id is a autoincrement

Re: [PHP-DB] problems connecting to remote oracle database

2001-07-02 Thread Anthony Carlos
Phil, Perhaps I'm being nit-picky, but shouldn't it be OCILogon($user, $PASSWORD, $connect_string); ? Anthony From: [EMAIL PROTECTED] Date: Sat, 30 Jun 2001 09:39:11 -0700 To: [EMAIL PROTECTED] Subject: [PHP-DB] problems connecting to remote oracle database Hi folks, I'm having

[PHP-DB] Re: adding Carrol O'Conner in a form

2001-07-02 Thread Angela Meehan
This is automatically done by something called MagicQuotes. You can turn this off in your installation of PHP. -Angela HI, IF i add my name as Carol O'Conner in a form and Echo (PHP 4.06 on win 95) it back I see Carol O\'Conner If I pass that name along to another page I'll see it as:

Re: [PHP-DB] Re: adding Carrol O'Conner in a form

2001-07-02 Thread John S. Huggins
+-*-On Mon, 2 Jul 2001, Angela Meehan wrote: -This is automatically done by something called MagicQuotes. You can -turn this off in your installation of PHP. - Yes, and if you do not have control over the server you can usually control this with the .htaccess file. To turn on... php_value

Re: [PHP-DB] problems connecting to remote oracle database

2001-07-02 Thread phil
On Mon, Jul 02, 2001 at 10:53:55AM -0400, Anthony Carlos wrote: Phil, Perhaps I'm being nit-picky, but shouldn't it be OCILogon($user, $PASSWORD, $connect_string); ? I have tried both $user=realuser; $password=actualpassword; $dbname=oraclename ocilogon($user,$password,$dbname); AND

RE: [PHP-DB] problems connecting to remote oracle database

2001-07-02 Thread Brian S. Dunworth
Hi Phil, Make sure that the web user (usually 'nobody' on an Apache installation) has access to the $ORA_HOME/bin directory and permissions to execute the binaries within. Also, be sure that ORA_HOME and ORACLE_SID are set in the 'nobody' user environment... - Brian

Re: [PHP-DB] problems connecting to remote oracle database

2001-07-02 Thread phil
On Mon, Jul 02, 2001 at 02:07:38PM -0400, Brian S. Dunworth wrote: Hi Phil, Make sure that the web user (usually 'nobody' on an Apache installation) has access to the $ORA_HOME/bin directory and permissions to execute the binaries within. Also, be sure that ORA_HOME and ORACLE_SID are

[PHP-DB] PhpMyAdmin phpPgAdmin Security Issues

2001-07-02 Thread Paul Burney
I don't know how many of you on this list are also on Bugtraq, but there were some *very* interesting posts there this morning by Shaun Clowes. You can see them at: http://www.securereality.com.au/archives.html The relevant links to look at are A Study in Scarlet:

RE: [PHP-DB] Formatting Strings in MySQL

2001-07-02 Thread Jesse S. Williams
Artur- No problem. :-) Well, you could enter it with the spacing you want by using CHAR(11) instead of INT(9) or whatever in SQL. However, depending on how large of a DB this will be, and how many entries, that's not the optimal way to do it as you must store to more (null) bytes with every

Re: [PHP-DB] problems connecting to remote oracle database

2001-07-02 Thread phil
a little more info... I've just tried a few public oracle-sql tools. Seems to have the same problem. I can connect just fine to the database using sqlplus. But when I try the hand-compiled tools, linked against libclntsh.so, it doenst properly authenticate to the remote system. Hey...

Re: [PHP-DB] RE: Storing Code in a db?

2001-07-02 Thread Mark McCray
Here was the application I was thinking of creating for my organization. We wanted to make an online survey tool. Where you can create a survey, with sections, possibly subsections, questions, and acceptable answers. It's easy enough to create this stuff each and every time, but it's

[PHP-DB] pricing info

2001-07-02 Thread olinux
Hi all - I was wondering if anyone can share with me their pricing info. I am about to begin my first freelance php project. The base of the project is a web-interfaced sql database with about 30 fields. where users can input data and generate reports. I would be curious to know what the going

[PHP-DB] IIS - going live

2001-07-02 Thread olinux
How difficult is it to connect to a live database on an IIS server. The server is in house and the company would like to have this database [MS SQL Server] interfaced with web forms. Can anyone provide a tutorial/site where I can learn. Would the process be no different than the work i have done

RE: [PHP-DB] pricing info

2001-07-02 Thread Jesse S. Williams
This is a snip of my email from the [PHP] general mailing list: There's several ways to look at this too. Currently I'm doing some work for a small/home business owner. She needed some work done with some shopping cart stuff, a little MySQL DB and some smart forms. Not a lot of