[PHP-DB] RegEx

2004-11-10 Thread Yemi Obembe
i'd luv to know wat happens if a value is to be taken from within a certain tag in a page when there are more than one of the tags in the page. for example, if i'd luv to tkae all data from within EVERY bold tags in a page, will this work: $file = http://example.com/; $open = fopen($file,r);

[PHP-DB] Re: RegEx

2004-11-10 Thread Sebastian Mendel
Yemi Obembe wrote: i'd luv to know wat happens if a value is to be taken from within a certain tag in a page when there are more than one of the tags in the page. for example, if i'd luv to tkae all data from within EVERY bold tags in a page, will this work: you have to tell the regex to be

Re: [PHP-DB] session_destroy();

2004-11-10 Thread graeme
Hi, I've been struggling with the same problem. The following code will destroy the session information and remove the cookie session_start(); $_SESSION = array(); if (isset($_COOKIE[session_name()])) { setcookie(session_name(), '', time()-42000, '/'); } session_destroy(); However my problem

Re: [PHP-DB] Do You Need addslashes() When Using Bind Variables

2004-11-10 Thread Simon Rees
Hi Francis No. Thats one of the great things about bind variables. cheers Simon On Wednesday 10 November 2004 05:45, Francis Chang wrote: Hi, I'm using the Oracle database though I think this question is generic to all databases. If you're using bind variables and preparing the SQL

[PHP-DB] Regarding your Life 1nsuance

2004-11-10 Thread Ada Evan
hypocritic operate beet affine bought sting agrarian sane combinatorial hike retrograde rectilinear valet fundamental hedonism

[PHP-DB] Please point me in the right direction.......

2004-11-10 Thread Michael Cortes
I have a question about contracts or agreements. I am considering hiring a local company to do some coding for us in LAMP to augment what we have done already. I have a problem with the standard we own the code and copyright clause in thier service agreement. Can someone point me to the

[PHP-DB] Copyright law, how to protect your investment, how to protect your work... Was - RE: [PHP-DB] Please point me in the right direction.......

2004-11-10 Thread Gryffyn, Trevor
I'm surprised I havn't seen this question come up before (might have just missed it) but it's an excellent question so forgive the crossposting as it's extremely relevant to coders and those purchasing services of coders. Anyone who's gotten married and hired a wedding photographer is probably

Re: [PHP-DB] MySQL problem..

2004-11-10 Thread Leo G. Divinagracia III
okay.. i'm stumped. what client libraries? using php 5, so is it php_mysql.dll??? i'm using a canned script, so i have to make the changes there too? i checked out the mysql help link. i even started the mysqld with the --old-passwords parameter... still getting the error... thanks... Bastien