Re: [PHP] help me

2003-10-21 Thread Jordan S. Jones
Dave, First thing you need to do is find the location of your php.ini file. I typically create a document with the function phpinfo (); and load it up in the browser. This will tell you the location of the php.ini file. From there you need to use your favorite command line editor to open the p

[PHP] help me

2003-10-21 Thread Dave
Hi I need to edit my php.ini file. I tried to do this through ftp but no go. I am really desperate. How do I do it through putty. Ie I log in su to root NOW WHAT? Please give me step by step instructions including how to save and make my changes. I need to do the following I need to change my php

Re: [PHP] Whats more efficient? ( echo " "; or )

2003-10-21 Thread Jordan S. Jones
I believe I read someplace once that it is more efficient to have your php embedded in your HTML where required. Something to do with the amount of parsing that the engine has to do. However, to reiterate what Captain John W. Holmes said, using a templating engine does allow you to better mana

[PHP] recode output text to acceptable encoding

2003-10-21 Thread Agri
i have scripts that produce output in utf-8. Is there any facilities to filter output, recoding to one of acceptable charsets without doing much work? Agri -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] "The page you are looking for cannot be displayed because the page address is incorrect. "

2003-10-21 Thread Chris Shiflett
--- Curt Zirzow <[EMAIL PROTECTED]> wrote: > > My only guess is: > > > > 1. You are using IIS > > 2. IIS doesn't know that 405 is the status code for Method Not Allowed > > 3. IIS is configured to not allow the POST request method > > hmm.. I thought 'only' implied singular :) It was a composite

Re[6]: [PHP] How does unpack works?

2003-10-21 Thread Tom Rogers
Hi, Wednesday, October 22, 2003, 2:35:43 PM, you wrote: VE> Hi, VE> I'have found a other structure I gues... VE> You can find it here : http://www.f6fbb.org/fbbdoc/fmtinf.htm VE> (it's a very slow site...) VE> The file inf.sys is included. VE> Many thanks for helping!!! VE> Greetz, Vincent Th

[PHP] Re: [PHP-DB] $_POST in MySQL query issue...

2003-10-21 Thread Lang Sharpe
The reason curly braces are needed are because you are putting an array element into a string. Consider.. $sBlah = 'blah'; echo "$sBlahfoo$sBlahfoo"; PHP will attempt to echo the variable $sBlahfoo twice. if you use echo "{$sBlah}foo{$sBlah}foo"; you have told php explicitly when to look for

Re: [PHP] "The page you are looking for cannot be displayed because the page address is incorrect. "

2003-10-21 Thread Curt Zirzow
* Thus wrote Chris Shiflett ([EMAIL PROTECTED]): > --- AMC <[EMAIL PROTECTED]> wrote: > > I'm trying to post from an asp page to a php and I get this error: > > > > The page you are looking for cannot be displayed because the page > > address is incorrect. > > > > then later on in the same page I

Re: [PHP] Whats more efficient? (Conclusion)

2003-10-21 Thread Curt Zirzow
* Thus wrote Ryan A ([EMAIL PROTECTED]): > Hey Curt, Hey ryan! I put this back on the list in case people were ever so curious of the system I use. > > /* > In most cases a document has a top, left, content and bottom. And > in standard conditions the top and left should be sent before the >

Re: [PHP] "The page you are looking for cannot be displayed because the page address is incorrect. "

2003-10-21 Thread Chris Shiflett
--- Amanda Clark <[EMAIL PROTECTED]> wrote: > Thanks for the info. You are correct that I am using iis. I am > posting from one asp page to other asp pages so doesn't that mean > that the post method is allowed? You're saying that you can send a POST request for an ASP page, but IIS won't let you

Re: [PHP] Whats more efficient? (Conclusion)

2003-10-21 Thread Chris Shiflett
--- Ryan A <[EMAIL PROTECTED]> wrote: > My main pages are basically querying the databases for hosting plans > depending on what the client chooses > what do you suggest? and any urls for reading up on caching? Caching is a generic term, so it's tough to search for documentation about a specif

Re: [PHP] "The page you are looking for cannot be displayed because the page address is incorrect. "

2003-10-21 Thread Chris Shiflett
--- AMC <[EMAIL PROTECTED]> wrote: > I'm trying to post from an asp page to a php and I get this error: > > The page you are looking for cannot be displayed because the page > address is incorrect. > > then later on in the same page I get the error: > > http 405 resource not allowed > internet i

Re: [PHP] Whats more efficient? (Conclusion)

2003-10-21 Thread Curt Zirzow
* Thus wrote Chris Shiflett ([EMAIL PROTECTED]): > --- Ryan A <[EMAIL PROTECTED]> wrote: > > Just one last question, you guys can reply to this off list or on: > > does using a templating engine slow down pages a lot (as i have > > heard) or increase speed (as i have heard again) ? :-D > > Things

RE: [PHP] Whats more efficient? (Conclusion)

2003-10-21 Thread Chris Kay
What I find easy to do, Is have the top, left in a file, say we call it header.php And have the bottom html in a page called footer.php Both pages mainly contain html exept if php is required. Many sites / database the top, left is html code and never changes, There is no need to place this in

[PHP] "The page you are looking for cannot be displayed because the page address is incorrect. "

2003-10-21 Thread AMC
Hi, I'm trying to post from an asp page to a php and I get this error: The page you are looking for cannot be displayed because the page address is incorrect. then later on in the same page I get the error: http 405 resource not allowed internet information services. I have no experience with

Re: [PHP] Whats more efficient? ( echo " "; or )

2003-10-21 Thread Rolf Brusletto
I'll just on the template bandwagon, I use smarty. (http://smarty.php.net) Rolf Brusletto phpExamples.net John W. Holmes wrote: Ryan A wrote: I have an option box on a webpage and have around 10 options on it and have run into a doubt, which is more efficient to do: 1. >Something1 >Something2

Re: [PHP] Whats more efficient? (Conclusion)

2003-10-21 Thread Robert Cummings
On Tue, 2003-10-21 at 23:12, Ryan A wrote: > Hey all, > > Thanks for clearing up my little doubt, I wanted to know if there was a > major differience. > > John, thanks for the reply and I know it makes sense (like all your replies) > but I just kind of got my feet wet with php > and getting to th

Re: [PHP] Whats more efficient? (Conclusion)

2003-10-21 Thread Ryan A
Hey, thanks for replying. /* ...but you can still overcome this with some good server-side caching (for example, is it necessary to dynamically generate a response for every request if the data isn't very volatile?). */ My main pages are basically querying the databases for hosting plans dependin

Re: [PHP] Whats more efficient? (Conclusion)

2003-10-21 Thread Curt Zirzow
* Thus wrote Ryan A ([EMAIL PROTECTED]): > Hey all, > > Just one last question, you guys can reply to this off list or on: > does using a templating engine slow down pages a lot (as i have heard) or > increase speed (as i have heard again) ? :-D One thing I always try to avoid is having the temp

Re: [PHP] Whats more efficient? (Conclusion)

2003-10-21 Thread Chris Shiflett
--- Ryan A <[EMAIL PROTECTED]> wrote: > Just one last question, you guys can reply to this off list or on: > does using a templating engine slow down pages a lot (as i have > heard) or increase speed (as i have heard again) ? :-D Things like Smarty are slow in terms of performance alone, yes. The

Re: [PHP] Whats more efficient? (Conclusion)

2003-10-21 Thread John W. Holmes
Ryan A wrote: Just one last question, you guys can reply to this off list or on: does using a templating engine slow down pages a lot (as i have heard) or increase speed (as i have heard again) ? :-D Depends upon your application and the templating engine. Many options either way. In my cases, t

Re: [PHP] Whats more efficient? (Conclusion)

2003-10-21 Thread Ryan A
Hey all, Thanks for clearing up my little doubt, I wanted to know if there was a major differience. John, thanks for the reply and I know it makes sense (like all your replies) but I just kind of got my feet wet with php and getting to the interesting stuff, learning while i go along of course.

Re: [PHP] Whats more efficient? ( echo " "; or )

2003-10-21 Thread John W. Holmes
Chris Shiflett wrote: --- "John W. Holmes" <[EMAIL PROTECTED]> wrote: Use a template engine to separate your presentation from your logic. :) Isn't PHP a templating engine? :-) Of course it is, but what's that got to do with separating presentation from logic (business logic)? Each one can be

Re: [PHP] Whats more efficient? ( echo " "; or )

2003-10-21 Thread Chris Shiflett
--- "John W. Holmes" <[EMAIL PROTECTED]> wrote: > Use a template engine to separate your presentation from your logic. :) Isn't PHP a templating engine? :-) Chris = My Blog http://shiflett.org/ HTTP Developer's Handbook http://httphandbook.org/ RAMP Training Courses http://www

Re: [PHP] Whats more efficient? ( echo " "; or )

2003-10-21 Thread Larry E . Ullman
which is more efficient to do: 1. >Something1 >Something2 (or) 2. instead of having the mixed in the HTML is it better to echo/print the whole lines? Really just a matter of personal preference. If I have a mostly PHP page, I would use echo to print out chunks of HTML. If I have a mostly HTML p

Re: [PHP] Whats more efficient? ( echo " "; or )

2003-10-21 Thread John W. Holmes
Ryan A wrote: I have an option box on a webpage and have around 10 options on it and have run into a doubt, which is more efficient to do: 1. >Something1 >Something2 (or) 2. instead of having the mixed in the HTML is it better to echo/print the whole lines? Use a template engine to separate you

[PHP] Whats more efficient? ( echo " "; or )

2003-10-21 Thread Ryan A
Hi everyone, Just a simple doubt and basically your opinion needed. I have an option box on a webpage and have around 10 options on it and have run into a doubt, which is more efficient to do: 1. >Something1 >Something2 (or) 2. instead of having the mixed in the HTML is it better to echo/prin

Re: [PHP] Using cookies

2003-10-21 Thread John Nichel
Jason Wong wrote: > On Wednesday 22 October 2003 08:37, John Nichel wrote: > >>Oh sure, figure out a way to circumvent this. What the hell are you >>trying to do, help people here? hehe > > > Your fault for crowning him king ;-) > I knew that would come back to bite me. -- By-Tor.com It's

Re: [PHP] Session within a session lock?

2003-10-21 Thread Steve Wardell
Thanks guys. Makes sense. This is a conversion from ColdFusion and was not an issue in ColdFusion, thou in CF you could do read or write locking to allow for such situations. I'll rework things. Steve John W. Holmes wrote: Steve Wardell wrote: I have a page on my PHP site that needs to access

Re: [PHP] Session within a session lock?

2003-10-21 Thread Chris Shiflett
--- Steve Wardell <[EMAIL PROTECTED]> wrote: > I have a page on my PHP site that needs to access itself. I open a > socket connection and pass in the HTTP request header including a > cookie string such as: > > Cookie: PHPSESSID=766bc531e9185be6b54206c944f258d9 > > With the session name and id o

Re: [PHP] Using cookies

2003-10-21 Thread Jason Wong
On Wednesday 22 October 2003 08:37, John Nichel wrote: > Oh sure, figure out a way to circumvent this. What the hell are you > trying to do, help people here? hehe Your fault for crowning him king ;-) -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integra

RE: [PHP] Using cookies

2003-10-21 Thread Chris Shiflett
--- "Chris W. Parker" <[EMAIL PROTECTED]> wrote: > > Not a good method. If I get on your site and see my cookie has the > > value 241757219 in it, I just need to subtract one from the number > > and revisit your site. Now I'm the user who registered before me. > > Using the rand() or uniqid() metho

Re: [PHP] Using cookies

2003-10-21 Thread Jason Wong
On Wednesday 22 October 2003 08:47, Chris W. Parker wrote: > on Tuesday, October 21, 2003 5:30 PM said: > > Not a good method. If I get on your site and see my cookie has the > > value 241757219 in it, I just need to subtract one from the number > > and revisit your site. Now I'm the user who

Re: [PHP] Using cookies

2003-10-21 Thread Chris Shiflett
--- "John W. Holmes" <[EMAIL PROTECTED]> wrote: > > > So let's say the first user comes along and is given the userid 1. > > > We then create their random id by adding 241757219 to their userid. > > > We get a random id of 241757220. Then within the login page I can > > > subtract 241757219 from th

Re: [PHP] Using cookies

2003-10-21 Thread John W. Holmes
Chris W. Parker wrote: John W. Holmes on Tuesday, October 21, 2003 5:30 PM said: Not a good method. If I get on your site and see my cookie has the value 241757219 in it, I just need to subtract one from the number and revisit your site. Now I'm the user who registe

Re: [PHP] Session within a session lock?

2003-10-21 Thread John W. Holmes
Steve Wardell wrote: I have a page on my PHP site that needs to access itself. I open a socket connection and pass in the HTTP request header including a cookie string such as: Cookie: PHPSESSID=766bc531e9185be6b54206c944f258d9 With the session name and id of the user's current session (as I w

RE: [PHP] Using cookies

2003-10-21 Thread Chris W. Parker
John W. Holmes on Tuesday, October 21, 2003 5:30 PM said: > Not a good method. If I get on your site and see my cookie has the > value 241757219 in it, I just need to subtract one from the number > and revisit your site. Now I'm the user who registered before me. > U

[PHP] Session within a session lock?

2003-10-21 Thread Steve Wardell
I have a page on my PHP site that needs to access itself. I open a socket connection and pass in the HTTP request header including a cookie string such as: Cookie: PHPSESSID=766bc531e9185be6b54206c944f258d9 With the session name and id of the user's current session (as I want the request to th

Re: [PHP] Using cookies

2003-10-21 Thread John Nichel
John W. Holmes wrote: Chris W. Parker wrote: Here's a thought: How about adding an abitrary number (let's say 241757219) to every users userid and then storing that number as the random id? So let's say the first user comes along and is given the userid 1. We then create their random id by adding

Re: [PHP] Using cookies

2003-10-21 Thread John W. Holmes
John Nichel wrote: Chris W. Parker wrote: John Nichel on Tuesday, October 21, 2003 3:50 PM said: 1. Create a random ID and store it with the users record in the db. 2. If the user chooses to be remembered, stick the random ID into a cookie. 3. When a user hits a log

Re: [PHP] Using cookies

2003-10-21 Thread John Nichel
Chris W. Parker wrote: John Nichel on Tuesday, October 21, 2003 3:50 PM said: The only thing I store in a cookie is a userid and a randomly generated number, and that's only if the site is to have a 'remember me' function so you don't have to login everytime. Even in

Re: [PHP] Using cookies

2003-10-21 Thread John W. Holmes
Marek Kilimajer wrote: John W. Holmes wrote: You're not even allowed to use persistant cookies in public government sites unless you get permission from the Secretary of the Defense. Hi, this is interesting. Can you post the guidelines? Quote: This policy will be clarified to make clear that "

Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Richard Baskett
on 10/21/03 16:40, David T-G at [EMAIL PROTECTED] wrote: > Marco, et al - > > ...and then Marco Tabini said... > % > % Well, one of my original ideas was to have a process that would monitor > % php.general for new messages and send back an e-mail to the list with > % possible answers based on t

Re: [PHP] bad quality with imagecopyresampled [PHP4]

2003-10-21 Thread Tom Rogers
Hi, Wednesday, October 22, 2003, 9:15:38 AM, you wrote: T> imagecopyresampled makes bad quality jpeg images when scaling them down, T> especially on areas of the same colour (i.e. large font). T> I am using antialiasing. T> I thought I'd try converting the images to png - imagecopyresampling them

Re: [PHP] bad quality with imagecopyresampled [PHP4]

2003-10-21 Thread Robert Cummings
On Tue, 2003-10-21 at 19:15, Torst wrote: > imagecopyresampled makes bad quality jpeg images when scaling them down, > especially on areas of the same colour (i.e. large font). > I am using antialiasing. > > I thought I'd try converting the images to png - imagecopyresampling them - > and then sav

Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread David T-G
Marco, et al - ...and then Marco Tabini said... % % Well, one of my original ideas was to have a process that would monitor % php.general for new messages and send back an e-mail to the list with % possible answers based on the message's contents. I'm not sure that % would be a good idea, thou

[PHP] bad quality with imagecopyresampled [PHP4]

2003-10-21 Thread Torst
imagecopyresampled makes bad quality jpeg images when scaling them down, especially on areas of the same colour (i.e. large font). I am using antialiasing. I thought I'd try converting the images to png - imagecopyresampling them - and then save as jpeg, however I can't seem to get it to work! He

Re: [PHP] Using cookies

2003-10-21 Thread Chris Shiflett
--- Marek Kilimajer <[EMAIL PROTECTED]> wrote: > John W. Holmes wrote: > > > > You're not even allowed to use persistant cookies in public > > government sites unless you get permission from the Secretary of > > the Defense. > > Hi, this is interesting. Can you post the guidelines? I've never he

Re: [PHP] Using cookies

2003-10-21 Thread Eugene Lee
On Tue, Oct 21, 2003 at 04:48:13PM -0500, Joseph Bannon wrote: : : I think it's the responsibility of whomever is holding the key (ie, the : username and password). When a user logs into my site, I put their : username and password in a cookie. I then check those cookies to allow : them access to

[PHP] swf to jpg using ming/imagemagick?

2003-10-21 Thread Michael Winston
Hey- I'm interested in taking a flash file and somehow extracting a frame of it, saving that frame as a jpg. I see the swf and ming functions in the php docs but it appears that it cannot read an existing SWF. Even if it could, I'm not sure how much help that would be. I've also investigated

Re: [PHP] Using cookies

2003-10-21 Thread Marek Kilimajer
John W. Holmes wrote: You're not even allowed to use persistant cookies in public government sites unless you get permission from the Secretary of the Defense. Hi, this is interesting. Can you post the guidelines? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

Re: [PHP] Using cookies

2003-10-21 Thread John Nichel
John W. Holmes wrote: Marco Tabini wrote: Joseph Bannon wrote: I think it's the responsibility of whomever is holding the key (ie, the username and password). When a user logs into my site, I put their username and password in a cookie. I then check those cookies to allow them access to membershi

Re: [PHP] Using cookies

2003-10-21 Thread Nicholas Robinson
If we're into analogies, how about a cookie containing username/password being much the same as leaving the keys to the house under your doormat? If someone knows that this is a common practice, they can find them and gain access to your house. As I understand it (and I am not a lawyer) the la

Re: [PHP] Using cookies

2003-10-21 Thread John W. Holmes
Marco Tabini wrote: Joseph Bannon wrote: I think it's the responsibility of whomever is holding the key (ie, the username and password). When a user logs into my site, I put their username and password in a cookie. I then check those cookies to allow them access to membership only parts of the sit

Re: [PHP] Using cookies

2003-10-21 Thread Chris Shiflett
--- Marco Tabini <[EMAIL PROTECTED]> wrote: > IMHO, by storing the user's name and password in a cookie, you may be > exposing that information to unnecessary risks by letting it go back > and forth continuously on the Net (assuming, of course, that you're > not under SSL and/or are using some en

Re: [PHP] Using cookies

2003-10-21 Thread Marco Tabini
Joseph Bannon wrote: I think it's the responsibility of whomever is holding the key (ie, the username and password). When a user logs into my site, I put their username and password in a cookie. I then check those cookies to allow them access to membership only parts of the site. It is thus their r

RE: [PHP] Using cookies

2003-10-21 Thread Joseph Bannon
I think it's the responsibility of whomever is holding the key (ie, the username and password). When a user logs into my site, I put their username and password in a cookie. I then check those cookies to allow them access to membership only parts of the site. It is thus their responsibility to keep

RE: [PHP] Using cookies

2003-10-21 Thread Chris W. Parker
Chris W. Parker <> on Tuesday, October 21, 2003 2:35 PM said: > Actually it's more like the bank storing your money in a safe with > glass walls. > > Sure the bank "stored" it, and stored it "securely" (it was behind > glass wasn't it?) but someone could easily break the glass and steal > all

Re: [PHP] Using cookies

2003-10-21 Thread Marco Tabini
Actually it's more like the bank storing your money in a safe with glass walls. Sure the bank "stored" it, and stored it "securely" (it was behind glass wasn't it?) but someone could easily break the glass and steal all the money. The argument from the customer would be "The company I put my trust

RE: [PHP] Using cookies

2003-10-21 Thread Chris W. Parker
Marco Tabini on Tuesday, October 21, 2003 1:31 PM said: > But if the browser causes the information to leak, we did not share > (or disclose) it--the user did, through action or inaction (e.g.: not > patching his or her browser). > > Your bank won't share your money

Re: [PHP] php framework

2003-10-21 Thread Jordan S. Jones
Modified to be object oriented and support xml/xslt. Jordan S. Jones wrote: Where I work, we use a heavily modified version of Fusebox. We like it. Jordan S. Jones Lai, Kenny wrote: just wanted a general idea on what kind of PHP framework everyone is using.. i've heard of pear, and interjinn

Re: [PHP] Using cookies

2003-10-21 Thread Marco Tabini
Chris Shiflett wrote: --- Marco Tabini <[EMAIL PROTECTED]> wrote: However, we do not share the contents of our cookies with any third party, under any circumstances. I'm no lawyer, but that seems like a risky statement. There are many circumstances that can cause the contents of the cookies you

RE: [PHP] Session hijacking

2003-10-21 Thread Chris Shiflett
--- Robert Cummings <[EMAIL PROTECTED]> wrote: > > What is a transparent session? > > I don't know if it's the same for the original poster (whoever that > is, since they were cropped :) For me it's when I bind a session > variable to an object such that the session variable is referenced > using

Re: [PHP] Using cookies

2003-10-21 Thread Chris Shiflett
--- Marco Tabini <[EMAIL PROTECTED]> wrote: > However, we do not share the contents of our cookies with any third > party, under any circumstances. I'm no lawyer, but that seems like a risky statement. There are many circumstances that can cause the contents of the cookies you set to be disclosed

Re: [PHP] php framework

2003-10-21 Thread Jordan S. Jones
Where I work, we use a heavily modified version of Fusebox. We like it. Jordan S. Jones Lai, Kenny wrote: just wanted a general idea on what kind of PHP framework everyone is using.. i've heard of pear, and interjinn.. is there a preference or distinct advantage that a particular framework has

[PHP] Re: search by keyword

2003-10-21 Thread zerof
Why your messages are only posted as attachments? -- zerof -- "Redmond Militante" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php framework

2003-10-21 Thread Ray Hunter
> just wanted a general idea on what kind of PHP framework everyone is using.. > i've heard of pear, and interjinn.. is there a preference or distinct > advantage that a particular framework has in comparison to one another? Check the archives...this has been touched on numerous times in the past

[PHP] php framework

2003-10-21 Thread Lai, Kenny
just wanted a general idea on what kind of PHP framework everyone is using.. i've heard of pear, and interjinn.. is there a preference or distinct advantage that a particular framework has in comparison to one another? thanks in advance, kenny -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Session hijacking

2003-10-21 Thread Robert Cummings
On Tue, 2003-10-21 at 15:36, Joseph Bannon wrote: > > i setup my sessions to be transparent, can it still be hacked ? > > > What is a transparent session? I don't know if it's the same for the original poster (whoever that is, since they were cropped :) For me it's when I bind a session variable

RE: [PHP] Session hijacking

2003-10-21 Thread Joseph Bannon
> i setup my sessions to be transparent, can it still be hacked ? What is a transparent session? J. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using cookies

2003-10-21 Thread Chris Shiflett
--- John Taylor-Johnston <[EMAIL PROTECTED]> wrote: > Can someone recommend a good URL on cookies and security issues > please? I can program them, but am told I'm putting others at risk, > forcing people to use cookies on my site. I have a free chapter about cookies from HTTP Developer's Handbook

Re: [PHP] Using cookies

2003-10-21 Thread Marco Tabini
We use a standard disclaimer: 2. Use of Cookies Like many websites, we use cookies to maintain certain information about you while you are visiting our website. However, we do not share the contents of our cookies with any third party, under any circumstances. Should we allow a third party to p

RE: [PHP] Using cookies

2003-10-21 Thread Joseph Bannon
It's your site isn't it? -lol J -Original Message- Nothing much. Been receiving flack about forcing people into cookies. Much misunderstood info about cookies. I need an URL to pass on for extra reading, as rebuttal. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

RE: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Jonathan Villa
Cool, this means that don't have to keep a directory of every post in this mailing list or the php-db mailing list in order to search through. -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 1:00 PM To: Marek Kilimajer; Marco Tabini Cc: PH

Re: [PHP] Using cookies

2003-10-21 Thread John Taylor-Johnston
Nothing much. Been receiving flack about forcing people into cookies. Much misunderstood info about cookies. I need an URL to pass on for extra reading, as rebuttal. "Chris W. Parker" wrote: > John Taylor-Johnston > on Tuesday, October 21, 2003 11:40 AM said: > >

Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Marek Kilimajer
Chris Shiflett wrote: --- Marek Kilimajer <[EMAIL PROTECTED]> wrote: My suggestion would be to use iframe for the message. It would load much faster then. How would that make it load much faster? Surely not because it requires an additional HTTP transaction, increasing the load. I'm curious to k

Re: [PHP] Using cookies

2003-10-21 Thread Curt Zirzow
* Thus wrote John Taylor-Johnston ([EMAIL PROTECTED]): > Can someone recommend a good URL on cookies and security issues please? > I can program them, but am told I'm putting others at risk, forcing people to use > cookies on my site. > Being online is a risk, or even crossing the street is a ri

RE: [PHP] Using cookies

2003-10-21 Thread Chris W. Parker
John Taylor-Johnston on Tuesday, October 21, 2003 11:40 AM said: > Can someone recommend a good URL on cookies and security issues > please? I can program them, but am told I'm putting others at risk, > forcing people to use cookies on my site. I guess it depends o

[PHP] Run exe file: Yes it is possible.

2003-10-21 Thread Gabriel Peugnet
It depends on the server configuration. Tipicaly, the cgi-bin folder is used tu run scripts AND exe files. You have to put the exe file in cgi-bin and chek if this folder have permission tu run it. If not: give it. There are some sites that use exe instead of scripts to show pages. It gives more s

Re: [PHP] date counting/subtracting MySQL and PHP

2003-10-21 Thread Jason Wong
On Wednesday 22 October 2003 04:32, Paul Nowosielski wrote: > I need to get mysql or php to subtract the current date from > $date_posted(time stamp) and return the number of days(the item has been > posted) as a sum. Use the MySQL function TO_DAYS(). Not sure what you mean by "as a sum". -- Ja

[PHP] Using cookies

2003-10-21 Thread John Taylor-Johnston
Can someone recommend a good URL on cookies and security issues please? I can program them, but am told I'm putting others at risk, forcing people to use cookies on my site. -- John Taylor-Johnston - Université de Sherbro

Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Chris Shiflett
--- Marek Kilimajer <[EMAIL PROTECTED]> wrote: > My suggestion would be to use iframe for the message. It would load > much faster then. How would that make it load much faster? Surely not because it requires an additional HTTP transaction, increasing the load. I'm curious to know what you mean.

Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Marco Tabini
Interesting thoughts... who would handle the separate list, though? Marco [EMAIL PROTECTED] wrote: Marco Tabini wrote: The problem is that the results should be mailed to the list so that others could tell whether they satisfy the question, but I'm afraid that would become annoying. Perhaps a

Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread bigdog
> Robert Cummings wrote: >> I think this is great but have one bit of hopefully constructive >> criticism... the horizontal real estate is too small, or the font is >> too large, I find the content wraps terribly :/ >> >> Cheers, >> Rob. >> > > Hi Rob-- > > True. Alas, it has to fit in our design,

Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread subs
Marco Tabini wrote: > The problem is that the results should be mailed to the > list so that others could tell whether they satisfy the question, but > I'm afraid that would become annoying. Perhaps a sister list could be setup to receive these messages. This would prevent the annoyance while sti

RE: [PHP] Read a file, extract and echo some information

2003-10-21 Thread Chris W. Parker
PHP Webmaster on Tuesday, October 21, 2003 4:17 AM said: > The required file will be changing all the time, that's why I want > to set the title in the individual pages and get the main page to > read that information. in that case let me revise my original code.

Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Marek Kilimajer
Marco Tabini wrote: True. Alas, it has to fit in our design, so one of the possibilities we're experimenting with is using either floating frames for the threading, or reducing the font size--the problem with the latter being that we *do* want people to be able to read the messages ;-) Thanks f

RE: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Chris W. Parker
Marco Tabini on Tuesday, October 21, 2003 9:56 AM said: > True. Alas, it has to fit in our design, so one of the possibilities > we're experimenting with is using either floating frames for the > threading, or reducing the font size--the problem with the latter > bei

Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Marco Tabini
Robert Cummings wrote: I think this is great but have one bit of hopefully constructive criticism... the horizontal real estate is too small, or the font is too large, I find the content wraps terribly :/ Cheers, Rob. Hi Rob-- True. Alas, it has to fit in our design, so one of the possibilities

Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Robert Cummings
I think this is great but have one bit of hopefully constructive criticism... the horizontal real estate is too small, or the font is too large, I find the content wraps terribly :/ Cheers, Rob. On Tue, 2003-10-21 at 10:07, Marco Tabini wrote: > Hello Everyone-- > > I wanted to let you know abou

Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread andu
On Tue, 21 Oct 2003 09:16:27 -0700 (PDT) Chris Shiflett <[EMAIL PROTECTED]> wrote: > Perhaps Marco can try an "Ask Jeeves" type of Web app. Is that the sort of > thing you are suggesting? > > So, as another feature of this mailing list archive, there could be a place > where people can ask a ques

Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Marco Tabini
Chris Shiflett wrote: Perhaps Marco can try an "Ask Jeeves" type of Web app. Is that the sort of thing you are suggesting? So, as another feature of this mailing list archive, there could be a place where people can ask a question, and Ask Marco will try to come up with some suggested posts to re

Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Chris Shiflett
--- [EMAIL PROTECTED] wrote: > However, the only issue with that is that many users do not search the > archives, faqs, or internet for the answers before posting to the list. > This always seems the case. Many users are unaware of the ethics around > mailing lists. I think many users are also una

Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Chris Shiflett
Perhaps Marco can try an "Ask Jeeves" type of Web app. Is that the sort of thing you are suggesting? So, as another feature of this mailing list archive, there could be a place where people can ask a question, and Ask Marco will try to come up with some suggested posts to read. This would give peo

Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread andu
On Wed, 22 Oct 2003 00:52:53 +0900 - Edwin - <[EMAIL PROTECTED]> wrote: > Hi, > > On 2003.10.21, at 23:42 Asia/Tokyo, Marco Tabini wrote: > > >> Nice work, if the list admin would add a link to this archive in the > >> footer (or > >> the header) it would be even useful for new subscribers who

RE: [PHP] cache control with javascript

2003-10-21 Thread Joshua Minnie
That really helped, I didn't think about generating the file that way. I have done other things like that, but sometimes it just helps when you get another set of eyes on the project at hand. Thanks for the refresher. Josh -Original Message- From: - Edwin - [mailto:[EMAIL PROTECTED] Sen

Re: [PHP] search by keyword

2003-10-21 Thread Larry E . Ullman
on the search_results page, what happens is: -i use explode() to break the comma-delimited string down into array elements, and count() to count the number of array elements -then i use a for loop to cycle through the list of array elements and run a sql query to search through a table for any ma

Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread bigdog
> - Edwin - wrote: >> >> Sort of a PHP-AI eh? :) Hmm... I don't think that's a bad idea at all, >> but... >> >> I wonder how you'd deal with new messages/posts/questions which: 1. >> Real people don't even understand, and >> 2. Real posters don't even understand what they're asking. >> > > Well,

Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread andu
On Tue, 21 Oct 2003 11:48:18 -0400 Marco Tabini <[EMAIL PROTECTED]> wrote: > > > > I think the idea is splendid (and new, call it DFAQ (dynamic FAQ)) but as a > > different service than a mailing list. Challenging? > > > > What did you have in mind exactly? How is the FAQ served? Considering t

Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Marco Tabini
- Edwin - wrote: Sort of a PHP-AI eh? :) Hmm... I don't think that's a bad idea at all, but... I wonder how you'd deal with new messages/posts/questions which: 1. Real people don't even understand, and 2. Real posters don't even understand what they're asking. Well, that's, of course, a problem

  1   2   >