Re: [PHP] Links (A HREF) loosing my session

2008-06-02 Thread Razer Montaño
Yes, the cookie is being created. I show it in Firefox (Tools | Options | Privacy | Show Coockies). So the Session File, is being created at "session.save_path", as configured in PHP.INI. :( Thank you for your response. 2008/6/2 Ted Wood <[EMAIL PROTECTED]>: > > 1. If you're

Re: [PHP] Links (A HREF) loosing my session

2008-06-02 Thread Ted Wood
1. If you're using cookies, there's no need to pass the session name via the URL. 2. Is the cookie being created? ~Ted On 2-Jun-08, at 11:32 AM, Razer Montaño wrote: Hello All, my first time here at list. Well, I am with a very weird question, never happened with me, always worked fin

Re: [PHP] Links hierarchy maintenance

2008-03-10 Thread tedd
At 6:13 PM -0700 3/9/08, Adil Drissi wrote: 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 ea

Re: [PHP] Links hierarchy maintenance

2008-03-10 Thread Per Jessen
Adil Drissi wrote: > should be displayed differently. I was wondering if > there is a way to do the same thing without the > overhead of all that "if " statements. If you're using PHP (or any other interpreted language) overhead is a fact of life, there's little you can do about it. /Per Jesse

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 tedd
Yes this is the correct way to do things. As i said, i'm using different styles for the menus links indicating the current page. Suppose my page has one horiontal menu at the top and one vertical menu at the left. In this case, one element of the horizontal menu and one from the vertical menu will

Re: [PHP] Links hierarchy maintenance

2008-03-09 Thread Per Jessen
Adil Drissi wrote: > Hi Jessen, > > The question is how to make it aware of the context. > Do you know any work dealing with that? Variables? Set a variable $context= before you include, then have your include check on $context. /Per Jessen, Zürich -- PHP General Mailing List (http://www.p

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'm using different styles for the menus l

Re: [PHP] Links hierarchy maintenance

2008-03-09 Thread Per Jessen
Adil Drissi wrote: > Hi, > > Yes this is the correct way to do things. As i said, > i'm using different styles for the menus links > indicating the current page. Suppose my page has one > horiontal menu at the top and one vertical menu at the > left. In this case, one element of the horizontal me

Re: [PHP] Links hierarchy maintenance

2008-03-08 Thread Adil Drissi
Hi, Yes this is the correct way to do things. As i said, i'm using different styles for the menus links indicating the current page. Suppose my page has one horiontal menu at the top and one vertical menu at the left. In this case, one element of the horizontal menu and one from the vertical menu

Re: [PHP] Links hierarchy maintenance

2008-03-08 Thread tedd
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'm trying to do right know is calling php functions that will display every part of the site that i

Re: [PHP] links and variables

2007-04-12 Thread Richard Lynch
On Thu, April 12, 2007 9:14 am, Dan Shirah wrote: > I have a page that has several links that point to the same page. I > want to > pass a variable to the linked page depending on which link the user > clicks > to only display a result set that is relevant to the link clicked. I > know > clicking

Re: [PHP] links and variables

2007-04-12 Thread Jochem Maas
Dan Shirah wrote: > Greetings! > > I have a page that has several links that point to the same page. I > want to > pass a variable to the linked page depending on which link the user clicks > to only display a result set that is relevant to the link clicked. I know > clicking on a link does not

Re: [PHP] Links

2007-03-07 Thread Jake McHenry
You have to add the href tags in the html output for the text to be a link in your while statement or whatever your using to obtains the links from the database already, instead of just displaying $link_value, change it to $link_value Jake - Original Message - From: "Stai

Re: [PHP] Links

2007-03-07 Thread fedt
:| if i want link 3, $result = mysql_query("SELECT address FROM db.links WHERE link_id=3"); $foo = mysql_fetch_assoc($result); echo 'this is link 3'; On 3/7/07, StainOnRug <[EMAIL PROTECTED]> wrote: Hello.. I searched for an answer on the simple quesiton but I am only finding complex answers

Re: [PHP] LINKS

2005-09-24 Thread Rory Browne
On 9/24/05, php @ net mines <[EMAIL PROTECTED]> wrote: > Hi all > > is there a way to have a program detecting when a link was clicked and > automatically opening another window (that can "plugged-in" in any website - > running php of course)? That would be done using client-side JS. you would de

Re: [PHP] LINKS

2005-09-24 Thread Gustav Wiberg
- Original Message - From: "php @ net mines" <[EMAIL PROTECTED]> To: Sent: Saturday, September 24, 2005 4:34 PM Subject: [PHP] LINKS Hi all is there a way to have a program detecting when a link was clicked and automatically opening another window (that can "plugged-in" in any webs

Re: [PHP] Links exchange with http://php-faq.com. OT - SPAM

2005-04-19 Thread Mattias Thorslund
Ann Clark wrote: Hello, We would like to exchange links between your site http://php-faq.com and our new exciting casino web site. Our site do NOT offer online gambling, it have information about different aspects of gambling and so it's very good and informative from our point of view. We requ

RE: [PHP] Links displaying in Table cells

2004-12-07 Thread Richard Lynch
> After clicking on a link of a menu in a PHP page, I want to display that > link in cell of a table. Please let me know how to open this link in a > table > cell. You mean like this? http://php.net";>PHP You may also want to consider not using PHP at all, but using JavaScript an

RE: [PHP] Links displaying in Table cells

2004-12-07 Thread Vincent DUPONT
you should add a iframe into your table cell and load the target page (link) into that iframe. maybe some javacsript could create the iframe for you and set its width and height. I Never did this, so this is purely a suggestion Vincent -Original Message- From: Tomar Rajeev (ext) [mailt

Re: [PHP] Links with parameters in DB

2004-08-19 Thread Matt M.
Original Message - > From: "Jay Blanchard" <[EMAIL PROTECTED]> > To: "WebMaster. Radio ECCA" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Thursday, August 19, 2004 1:38 PM > Subject: RE: [PHP] Links with parameters in DB > > [s

RE: [PHP] Links with parameters in DB

2004-08-19 Thread Jay Blanchard
[snip] [snip] I tried what you said but i get an eval error: Parse error: parse error, unexpected '=' in /index.php(135) : eval()'d code on line 1 [/snip] You will probably have to escape the equals sign [/snip] Have you RTFM on eval? http://www.php.net/eval You have to use valid PHP code. You

RE: [PHP] Links with parameters in DB

2004-08-19 Thread Jay Blanchard
[snip] I tried what you said but i get an eval error: Parse error: parse error, unexpected '=' in /index.php(135) : eval()'d code on line 1 [/snip] You will probably have to escape the equals sign -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

Re: [PHP] Links with parameters in DB

2004-08-19 Thread WebMaster. Radio ECCA
TECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, August 19, 2004 1:38 PM Subject: RE: [PHP] Links with parameters in DB [snip] It doesn´t work, I have other fields in the DB apart from the field 'Link', so if I use $link = eval($result); I get a parse error. Apart from that, I have

RE: [PHP] Links with parameters in DB

2004-08-19 Thread Jay Blanchard
[snip] It doesn´t work, I have other fields in the DB apart from the field 'Link', so if I use $link = eval($result); I get a parse error. Apart from that, I have to write the name of the field (link), if not the server won´t know the field I´m refering to. [/snip] Then did you eval that? I meant

Re: [PHP] Links with parameters in DB

2004-08-19 Thread WebMaster. Radio ECCA
From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "WebMaster. Radio ECCA" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, August 19, 2004 1:28 PM Subject: RE: [PHP] Links with parameters in DB [snip] $i=0; $q="select * from links'"; while ($i

RE: [PHP] Links with parameters in DB

2004-08-19 Thread Jay Blanchard
[snip] $i=0; $q="select * from links'"; while ($ihttp://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Links with parameters in DB

2004-08-19 Thread Jay Blanchard
[snip] $link=eval(mysql_result($result,$i,"link")); [/snip] Try just eval on the field you pull from the database... echo eval($databaseItem) then work your processing. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Links of Tables from other DB

2003-12-18 Thread Blake Schroeder
This is the tutorial i used http://hotwired.lycos.com/webmonkey/programming/php/tutorials/tutorial4.html KidLat Ngayon wrote: Greetings Guyz. I would just like to ask for a help regarding on "Links of Tables from other DB". I'm just only a newbie in PHP Programming. What I have right now is a

Re: [PHP] Links of Tables from other DB

2003-12-18 Thread Raditha Dissanayake
Hi, From your post i the the proper use of databases hasn't 'sunk in' yet. I propose that you head off to one of the sites such as phpbuilder.com or devshed.com where you will find lots of articles on dbs as well as how to use them with php. all the best KidLat Ngayon wrote: Greetings Guyz..

Re: [PHP] Links in e-mail

2003-05-30 Thread ruusvuu
$link = "http://somedomain.com";; $msg .= "$link\n"; Quoting christian tischler <[EMAIL PROTECTED]>: > I use mail() to send e-mail automatically. > > But all I can send is text. I would like to send links, but can figure out > how to make them work. > > Thanks, > > Christian > > > > -- >

Re: [PHP] Links in e-mail

2003-05-30 Thread Adam Voigt
For the third parameter of the mail command, use: "Content-type:text/html\r\n" I.E.: mail($to,$subject,$body,"Content-type:text/html\r\n"); On Thu, 2003-05-29 at 11:13, christian tischler wrote: > I use mail() to send e-mail automatically. > > But all I can send is text. I would like to send l

RE: [PHP] Links in e-mail

2003-05-30 Thread Joe Stump
Most MUA's will convert http://* or www.* to a link. Otherwise you'll have to send MIME encoded HTML with tags. The problem with the second solution is that not all MUA's (ie. mutt) support MIME encoded HTML messages. --Joe -- Joe Stump <[EMAIL PROTECTED]> http://www.joestump.net "Label makers a

Re: [PHP] links into DB

2002-09-10 Thread Kevin Stone
It's a GET request right? So it'll be just like any other Location header. mailtolinks.php will contain.. mailto:$addy";); ?> -Kevin - Original Message - From: "Juan Pablo Aqueveque" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 10, 2002 4:51 AM Subject: [PHP] li

Re: [PHP] links into DB

2002-09-10 Thread Juan Pablo Aqueveque
Oh yeah ...I thought this same, I simply wanted to know if somebody could give a better solution. Thank you for your quick answer Jacob!.. greetings!, --jp At 00:55 11-09-2002 +0800, Jacob Miller wrote: >I don't think its possible to make a normal link open the default email as >mailto: is a

Re: [PHP] links into DB

2002-09-10 Thread Jacob Miller
I don't think its possible to make a normal link open the default email as mailto: is a special trigger built into the browsers. The only way I can think of would be using javascript in the page.. something like mailto:[EMAIL PROTECTED]';"> - jacob At 18:51 09/10/2002, Juan Pablo Aqueveque

Re: [PHP] links

2002-03-17 Thread mnc
On Sun, 17 Mar 2002, Morten Nielsen wrote: > I got a table where I on the left has a link to page1. Another place in the > table I have a button, which also links to page1. Is it possible to tell > which of the two links has been pressed. > I need to know so I only show a specific message when the

RE: [PHP] links manager

2002-02-14 Thread Matt Schroebel
Look here: http://www.zend.com/apps.php?CID=38 -Original Message- From: Administration@myclassguide [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 5:22 AM To: [EMAIL PROTECTED] Subject: [PHP] links manager Hi Anybody know of any good scripts for creating a directory for

Re: [PHP] Links

2001-09-05 Thread Brian Clark
@ 6:42:33 AM on 9/5/01, * R&zE: wrote: > This regex gets you everything between all and tags. Case > insensitive, including embedded HTML-tags etc. Try it and let me > know if this is what you need. > --- PHP code --- > preg_match_all ("/]*>(.+)<\/a>/imU", $StringToSearch, $matches); > print_r

Re: [PHP] Links

2001-09-05 Thread
From: Kunal Jhunjhunwala <[EMAIL PROTECTED]> Date: Wed, Sep 05, 2001 at 03:49:49PM +0530 Message-ID: <056a01c135f4$4e7b99a0$0301a8c0@CONFUSED> Subject: [PHP] Links > Hey, > This is the second time I am asking about this. I havent been able to solve > the problem. I am trying to get all the infor

Re: [PHP] Links as a query point instead of form drop down box

2001-05-17 Thread James Holloway
Hi Laurie, If the data to be displayed was in a database, and each row of data corresponded to an auto incrementing id, you could reference by id number, which is a much better way of doing things via the GET method than messing around with long names. Assuming that you have two tables, one that

RE: [PHP] Links as a query point instead of form drop down box

2001-05-16 Thread Jason Murray
> how would I add the query criteria to the link? and how would I set up > showdata to take the information from the selected link? Where you would usually have a form such as: Display Value ... to use it as a link, you would use: Display Value Jason -- Jason Murray [EMAIL PROTECTE

RE: [PHP] Links

2001-04-28 Thread Taylor, Stewart
How about something like. 'start_page.php' Some HTML... display screen 1 display screen 2 More HTML... 'index.php' -Original Message- From: Ben Quinn [mailto:[EMAIL PROTECTED]] Sent: 28 April 2001 11:57 To: [EMAIL PROTECTED] Subject: [PHP] Links Hi all, I've been trying for many