Re: [PHP] Php coding help - Newbie question

2007-01-22 Thread Ramdas
On 1/23/07, Chris <[EMAIL PROTECTED]> wrote: > Sorry for troubling all again. > I am trying to use the Pear DB_ldap for the above scripts. > > Does any one have any sample code for ldap_connect () ldap_search etc. http://php.net/ldap_connect http://php.net/ldap_search Both pages have examples

Re: [PHP] Php coding help - Newbie question

2007-01-22 Thread Chris
Sorry for troubling all again. I am trying to use the Pear DB_ldap for the above scripts. Does any one have any sample code for ldap_connect () ldap_search etc. http://php.net/ldap_connect http://php.net/ldap_search Both pages have examples. If you have a specific problem then post it. --

Re: [PHP] Php coding help - Newbie question

2007-01-20 Thread Ramdas
On 1/18/07, Ramdas <[EMAIL PROTECTED]> wrote: On 1/17/07, Jochem Maas <[EMAIL PROTECTED]> wrote: > Ramdas wrote: > > Hi Group, > > > > A very newbie question. Might be discussed earlier, please forgive. > > Are so much of a noob that STFW is not within your capabilities? > (just thought I'd ask,

Re: [PHP] Php coding help - Newbie question

2007-01-18 Thread Ramdas
On 1/17/07, Jochem Maas <[EMAIL PROTECTED]> wrote: Ramdas wrote: > Hi Group, > > A very newbie question. Might be discussed earlier, please forgive. Are so much of a noob that STFW is not within your capabilities? (just thought I'd ask, given that you admit to realising the info *might* be out t

Re: [PHP] Php coding help - Newbie question

2007-01-17 Thread Jochem Maas
Ramdas wrote: > Hi Group, > > A very newbie question. Might be discussed earlier, please forgive. Are so much of a noob that STFW is not within your capabilities? (just thought I'd ask, given that you admit to realising the info *might* be out there already) > > I am having a site in PHP ( not

Re: [PHP] Php coding help - Newbie question

2007-01-17 Thread Jim Lucas
Ramdas wrote: Hi Group, A very newbie question. Might be discussed earlier, please forgive. I am having a site in PHP ( not very great design ) which I need to convert/modify to use functions. Such the code for connecting / binding to Ldap is not repeated & scripts are more readable. The site

[PHP] Php coding help - Newbie question

2007-01-17 Thread Ramdas
Hi Group, A very newbie question. Might be discussed earlier, please forgive. I am having a site in PHP ( not very great design ) which I need to convert/modify to use functions. Such the code for connecting / binding to Ldap is not repeated & scripts are more readable. The site deals with modi

Re: [PHP] PHP Coding HELP

2002-11-22 Thread Per Lundkvist
gt; -Vicky > > -Original Message- > From: Vicky [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 22, 2002 9:56 AM > To: [EMAIL PROTECTED] > Subject: [PHP] PHP Coding HELP > > Hello! > > I am looking to find or code a script that does the following. If anyone

Re: [PHP] PHP Coding HELP

2002-11-22 Thread Vicky
6 AM To: [EMAIL PROTECTED] Subject: [PHP] PHP Coding HELP Hello! I am looking to find or code a script that does the following. If anyone could help I'd be extremely greatful. Users can upload their files, but the files they upload can only be downloaded X amount of times. After they'v

RE: [PHP] PHP Coding HELP

2002-11-21 Thread John W. Holmes
> Users can upload their files, but the files they upload can only be > downloaded X amount of times. After they've been downloaded so many times > in > an ideal world they'd be automatically removed, though just to be made so > people couldn't download them anymore would be great. You need a down

Re: [PHP] PHP Coding HELP

2002-11-21 Thread Ray Hunter
If you have a database this would be easier... Here is what u can do: 1. Create a form that allows them to upload files to your php server. 2. Then you can store the files in a database and have a field that has a value that is how many times it can be downloaded. 3. Then a page that allows users

[PHP] PHP Coding HELP

2002-11-21 Thread Vicky
Hello! I am looking to find or code a script that does the following. If anyone could help I'd be extremely greatful. Users can upload their files, but the files they upload can only be downloaded X amount of times. After they've been downloaded so many times in an ideal world they'd be automatic

Re: [PHP] ->>coding help

2001-06-25 Thread Richard Lynch
23, 2001 10:13 PM Subject: [PHP] ->>coding help > Hi > > I have a script which queries mySQL and outputs 32 links at once. Here is my > scipt > > > $connection = mysql_connect("***","",""); > if ($connection==false) >

Re: [PHP] ->>coding help

2001-06-24 Thread Hugh Bothwell
""McShen"" <[EMAIL PROTECTED]> wrote in message 9h3lrv$dn$[EMAIL PROTECTED]">news:9h3lrv$dn$[EMAIL PROTECTED]... > Hi > > I have a script which queries mySQL and outputs 32 links at once. How 'bout this? === define("PER_ROW", 2); $row = Array(); $in_row = 0;

RE: [PHP] ->>coding help

2001-06-24 Thread Jason Lotito
ttp://www.newbienetwork.net/ciao.php PHP, MySQL, PostgreSQL Tutorials, Code Snippets, and so much more > -Original Message- > From: McShen [mailto:[EMAIL PROTECTED]] > Sent: Sunday, June 24, 2001 10:45 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] ->>coding help > &

Re: [PHP] ->>coding help

2001-06-24 Thread McShen
echo ""; > echo "\n"; > > > ?> > > Jason Lotito > www.NewbieNetwork.net > PHP Newsletter: http://www.newbienetwork.net/ciao.php > PHP, MySQL, PostgreSQL Tutorials, Code Snippets, and so much more > > > > -Original Message- > &g

RE: [PHP] ->>coding help

2001-06-23 Thread Jason Lotito
PHP, MySQL, PostgreSQL Tutorials, Code Snippets, and so much more > -Original Message- > From: McShen [mailto:[EMAIL PROTECTED]] > Sent: Saturday, June 23, 2001 11:22 PM > To: [EMAIL PROTECTED] > Subject: [PHP] ->>coding help > > > Hi > > I have

Re: [PHP] ->>coding help

2001-06-23 Thread Carmen & Gene
McShen wrote: > Hi > > I have a script which queries mySQL and outputs 32 links at once. Here is my > scipt > > > $connection = mysql_connect("***","",""); > if ($connection==false) >{ > echo mysql_errno().":".mysql_error().""; > exit; >} > > $end = $list + 16; > > $

[PHP] ->>coding help

2001-06-23 Thread McShen
Hi I have a script which queries mySQL and outputs 32 links at once. Here is my scipt \n"; echo "\n"; while ($j!=$num) { @$r = mysql_fetch_array($result); @$id = $r[id]; @$title = $r[title]; echo "\n"; echo "$title"; echo "\n"; // new row in table every other link $i++; if (($i % 2)