[PHP] Re: 4/1/2013 3:46:37 AM

2013-03-31 Thread Adil Adil
http://www.siamphotographer.com/clvrcng/nikoffbkvvnjjcgwapmay.xmhpwcbrd

Re: [PHP] Links hierarchy maintenance

2008-03-09 Thread Adil Drissi
Yes like that, but you can consider also that the vertical menu has different style for the link of the current page. Anyway it does not matter for this problem. Can you show us how your php function looks like? Or maybe you are just doing a test for each link for your function to know if it is the

Re: [PHP] Links hierarchy maintenance

2008-03-09 Thread Adil Drissi
Hi Jessen, The question is how to make it aware of the context. Do you know any work dealing with that? Thanks --- Per Jessen <[EMAIL PROTECTED]> wrote: > Adil Drissi wrote: > > > Hi, > > > > Yes this is the correct way to do things. As i > said, > > i

Re: [PHP] Links hierarchy maintenance

2008-03-08 Thread Adil Drissi
r now --- tedd <[EMAIL PROTECTED]> wrote: > At 9:23 AM -0800 3/8/08, Adil Drissi wrote: > >I'm working on a site that is becoming more and > more > >bigger (containing more links). Now the problem of > >links maintenance arises. An intuitive idea that > i&

[PHP] Links hierarchy maintenance

2008-03-08 Thread Adil Drissi
Hi, I'm working on a site that is becoming more and more bigger (containing more links). Now the problem of links maintenance arises. An intuitive idea that i'm trying to do right know is calling php functions that will display every part of the site that is repetitive. For example left side menu

Re: [PHP] regular expressions question

2008-03-04 Thread Adil Drissi
Thank you guys, The answers you gave me not only solved the problem, but i included more characters like space and -. Thank you again --- Richard Lynch <[EMAIL PROTECTED]> wrote: > On Tue, March 4, 2008 1:19 pm, Adil Drissi wrote: > > Is there any way to limit the user to a set

[PHP] regular expressions question

2008-03-04 Thread Adil Drissi
Hi, Is there any way to limit the user to a set of characters for example say i want my user to enter any character between a and z (case insensitive). And if the user enters just one letter not belonging to [a-z], this will not be accepted. I tried eregi('[a-z]', $fname) but this allows the

Re: [PHP] Session destruction problem

2008-02-23 Thread Adil Drissi
y much for your help --- Adil Drissi <[EMAIL PROTECTED]> wrote: > Hi, > > Below you'll find my code. I think now that the > problem is in my algorithm, because the is created > anytime the page is refreshed. But i don't know how > to > check if the client was

Re: [PHP] Session destruction problem

2008-02-20 Thread Adil Drissi
thank you tedd, I understood what you explained to me last time. I was wondering if there is another method to prevent that. Thanks --- tedd <[EMAIL PROTECTED]> wrote: > At 2:45 PM -0800 2/19/08, Adil Drissi wrote: > >Hi, > > > >Below you'll find my code. I thi

Re: [PHP] Session destruction problem

2008-02-19 Thread Adil Drissi
quot;;> Log Out  "; } else echo "Login  "; ?> logout.php -- --- Richard Lynch <[EMAIL PROTECTED]> wrote: > On Sat, February 16, 2008 2:31 pm, Adil Drissi > wrote: > > I need help with sessions. > >

Re: [PHP] Re: Session destruction problem

2008-02-17 Thread Adil Drissi
Well, i'm doing all that. Maybe something is wrong in my code. I'll arrange my code in a way that it will be easy to run and i'll post it. I think like that, you'll see by yourself and you gonna help to fix that for sure. Thank you --- Shawn McKenzie <[EMAIL PROTECTED]

Re: [PHP] Session destruction problem

2008-02-17 Thread Adil Drissi
Hi, Thanks for the link, it is very interesting, but as the author says, the solutions are not perfect. I'm wondering how yahoo mail for example are doing, or maybe they are using something else (not php)? Thank you --- tedd <[EMAIL PROTECTED]> wrote: > At 12:31 PM -0800 2/16/0

Re: [PHP] Session destruction problem

2008-02-17 Thread Adil Drissi
Hi, I suppose this can be used to solve the problem i posted. Can you please tell me how, or send a link to ressource explaining that? Thanks --- Daniel Brown <[EMAIL PROTECTED]> wrote: > On Feb 16, 2008 3:31 PM, Adil Drissi > <[EMAIL PROTECTED]> wrote: > > Hi everyb

Re: [PHP] Session destruction problem

2008-02-17 Thread Adil Drissi
> > > Is your session being set in any other place but > your login page? > No, just in the page just to which the form of login and password points. Looking for last minute shopping deals? Find the

[PHP] Session destruction problem

2008-02-16 Thread Adil Drissi
Hi everybody, I need help with sessions. I have a simple authentification relying only on sessions (i don't use cookies). After the user submits his username and password, the script checks if that corresponds to a record in a mysql table. If this is the case "$_SESSION['sessioname'] = $_POST['log

[PHP] submitting two forms on one page

2004-11-23 Thread Adil
st doesn't refresh the page or post so the project list never shows up. I've listed some code below. Thanks in advance for any help on this. Adil. \\ The outer form starts here \\ The inner form starts here Select Client Bank of America Verizon Veri

[PHP] odbc fetch array issues

2004-11-16 Thread Adil
ME; } I get nothing at all which I find pretty strange so I wanted to know if there were any bugs with this function, maye while working on IIS or just problems with the functions themselves. Thx again Adil. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] odbc question

2004-11-16 Thread Adil
>$sql = "SELECT * FROM users WHERE username='$username' AND password='$password'"; >$result = odbc_exec($dbConnection, $sql); > >while ($rows = odbc_fetch_array($result)) { > //This doesn't work with odbc_fetch_object either > print $rows->COLUMNNAME; >} It's returning an array, not an obj

[PHP] heredoc syntax

2004-10-20 Thread Adil
anyone know why heredoc syntax might not work with php5/apache installed. I can't get even the simplest strings in heredoc syntax to work and I've tried just cutting and pasting other peoples stuff in that syntax as well, and still no luck thx. Adil. -- PHP General Mailing

[PHP] deleting multiple items from a database

2004-10-13 Thread Adil
l if it is or isn't mysql_query("DELETE FROM uploads WHERE upload_id =" . "$i"); } header("Location: http://"; . $_SERVER['PHP_SELF']);//forces a page refresh to show the file list without the items that were deleted. } I appreciate any help I can get on this. Thank you Adil. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] creating a folder in php

2004-10-12 Thread Adil
the content-disposition item in the "header" and see if that helps. thx again Adil. "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] Here's what i'm trying to do in php and using a mySQL database: I want a button on a page that

[PHP] creating a folder in php

2004-10-12 Thread Adil
Here's what i'm trying to do in php and using a mySQL database: I want a button on a page that if clicked it launches the browser's or OS's "Save As" window, allowing me to specify where to save my file and/or create a new folder. This needs to work on Mac and PC.