Re: [PHP] Redirection

2008-05-07 Thread Nathan Nobbe
On Wed, May 7, 2008 at 5:55 PM, Ben <[EMAIL PROTECTED]> wrote: > Is there a way to take all the variables, no matter what their names and > values are, from the parameters in a url and POST them to another URL so > that they don't show up in the address bar? I've noticed a huge increase > in > my

Re: [PHP] Redirection

2008-05-07 Thread TG
I believe you can use cURL to create POST requests. -TG - Original Message - From: "Ben" <[EMAIL PROTECTED]> To: php-general@lists.php.net Date: Wed, 7 May 2008 17:55:34 -0600 Subject: [PHP] Redirection > Is there a way to take all the variables, no matter what their names and > values

Re: [PHP] Redirection

2008-05-07 Thread Kyle Browning
Javascript can help you there. On May 7, 2008, at 4:55 PM, Ben wrote: Is there a way to take all the variables, no matter what their names and values are, from the parameters in a url and POST them to another URL so that they don't show up in the address bar? I've noticed a huge increase

[PHP] Redirection

2008-05-07 Thread Ben
Is there a way to take all the variables, no matter what their names and values are, from the parameters in a url and POST them to another URL so that they don't show up in the address bar? I've noticed a huge increase in my bounce rate since I added some tracking parameters to my urls, but I n

Re: [PHP] Regex to catch s

2008-05-07 Thread Aschwin Wesselius
Ryan S wrote: Hey! Thansk for replying! It is obvious I haven't had my caffeine yet. This is my last try to get the pattern straight: hello hello those hello hello this rose hello nose hello that hello END_OF_HTML; $tags = array(); $tags[] = 'p'; $tags[] = 'a'; $attr = array(); $attr[] =

Re: [PHP] $_SESSION v. Cookies

2008-05-07 Thread Nathan Nobbe
On Wed, May 7, 2008 at 2:35 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-05-07 at 14:29 -0600, Nathan Nobbe wrote: > > On Wed, May 7, 2008 at 2:22 PM, Robert Cummings <[EMAIL PROTECTED]> > > wrote: > > > > On Wed, 2008-05-07 at 16:03 -0400, tedd wrote: > > > At 1

Re: [PHP] How to determine if file is writable and deletable

2008-05-07 Thread Richard Heyes
It won't work? No idea, it was just a rather poor play on words. -- Richard Heyes ++ | Access SSH with a Windows mapped drive | |http://www.phpguru.org/sftpdrive| ++ -- PHP General Mailing List (http://www

Re: [PHP] How to determine if file is writable and deletable

2008-05-07 Thread tedd
At 9:18 PM +0100 5/7/08, Richard Heyes wrote: Perhaps touch might help. Touch my ass. ROFLMAO (I've been waiting for years to use that one) It won't work? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://w

Re: [PHP] $_SESSION v. Cookies

2008-05-07 Thread Robert Cummings
On Wed, 2008-05-07 at 14:29 -0600, Nathan Nobbe wrote: > On Wed, May 7, 2008 at 2:22 PM, Robert Cummings <[EMAIL PROTECTED]> > wrote: > > On Wed, 2008-05-07 at 16:03 -0400, tedd wrote: > > At 12:34 PM -0400 5/7/08, Robert Cummings wrote: > > > > > >The exce

Re: [PHP] $_SESSION v. Cookies

2008-05-07 Thread tedd
At 4:22 PM -0400 5/7/08, Robert Cummings wrote: On Wed, 2008-05-07 at 16:03 -0400, tedd wrote: At 12:34 PM -0400 5/7/08, Robert Cummings wrote: > >The exception being when it performs cleanup. Cleanup should be >relegated to a cron job. Rob: What clean-up? All the inactive session file

Re: [PHP] ldap_search results limited

2008-05-07 Thread Nathan Nobbe
On Wed, May 7, 2008 at 2:26 PM, Matt Burtch <[EMAIL PROTECTED]> wrote: > Thanks for the tips. phpLDAPAdmin was hanging while trying to > authenticate, but I'll give it a try again later. > > Nathan: splitting up the search; I hadn't considered this! It is working > nicely for the time being, thank

Re: [PHP] ldap_search results limited

2008-05-07 Thread Matt Burtch
Thanks for the tips. phpLDAPAdmin was hanging while trying to authenticate, but I'll give it a try again later. Nathan: splitting up the search; I hadn't considered this! It is working nicely for the time being, thanks. - MB On Wed, May 7, 2008 at 3:23 PM, Jay Blanchard <[EMAIL PROTECTED]> wrote

Re: [PHP] $_SESSION v. Cookies

2008-05-07 Thread Nathan Nobbe
On Wed, May 7, 2008 at 2:22 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-05-07 at 16:03 -0400, tedd wrote: > > At 12:34 PM -0400 5/7/08, Robert Cummings wrote: > > > > > >The exception being when it performs cleanup. Cleanup should be > > >relegated to a cron job. > > > > Rob: >

Re: [PHP] $_SESSION v. Cookies

2008-05-07 Thread Robert Cummings
On Wed, 2008-05-07 at 16:03 -0400, tedd wrote: > At 12:34 PM -0400 5/7/08, Robert Cummings wrote: > > > >The exception being when it performs cleanup. Cleanup should be > >relegated to a cron job. > > Rob: > > What clean-up? All the inactive session files... inactive and garbage collection time

Re: [PHP] How to determine if file is writable and deletable

2008-05-07 Thread Richard Heyes
Perhaps touch might help. Touch my ass. ROFLMAO (I've been waiting for years to use that one) -- Richard Heyes ++ | Access SSH with a Windows mapped drive | |http://www.phpguru.org/sftpdrive| ++ -- PHP G

Re: [PHP] How to determine if file is writable and deletable

2008-05-07 Thread tedd
At 11:16 AM -0400 5/7/08, Al wrote: I need to determine if a file is truly deletable by a php script, Deleting permissions seem to be the same as writing, they probably have the same criteria. is_writable() seems to virtually useless in most cases. It doesn't take into account the directory o

Re: [PHP] $_SESSION v. Cookies

2008-05-07 Thread tedd
At 12:34 PM -0400 5/7/08, Robert Cummings wrote: The exception being when it performs cleanup. Cleanup should be relegated to a cron job. Rob: What clean-up? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://ww

[PHP] php 5.2.6 make failure

2008-05-07 Thread Steven Perez
I am having a problem that I cannot seem to get through. Unfortunately, I was given the task of getting a working php binary for a modified redhat 7.2 box (I know I know). I got through the configure phase but I cannot seem to complete the make process. The following is what I get as an erro

Re: [PHP] Regex to catch s (weird result)

2008-05-07 Thread Jon L.
Pretty close. The only thing I'd suggest is a different way of wording step 2: Can contain anything but '>' until step 3. As for the switches/modifiers (Uis), check out: http://us.php.net/manual/en/reference.pcre.pattern.modifiers.php U = ungreedy i = case-insensitive (|p| matches 'p' and/or 'P'

RE: [PHP] ldap_search results limited

2008-05-07 Thread Jay Blanchard
[snip] > I am running into a problem with my queries returning a limited number of > result entries. [/snip] Most LDAP servers set a limit, it is usually not a PHP problem. One way to solve is to query by first letter of last name and throw into an array (iterating through the alphabet). functio

Re: [PHP] ldap_search results limited

2008-05-07 Thread Nathan Nobbe
On Wed, May 7, 2008 at 12:50 PM, mburtch <[EMAIL PROTECTED]> wrote: > > I am running into a problem with my queries returning a limited number of > result entries. The LDAP server is Kerio Mail Server, and I am verified > that > the SIZELIMIT in the server's configuration is 0 (no limit). For some

Re: [PHP] Regex to catch s (weird result)

2008-05-07 Thread Ryan S
> http://www.ezee.se/tests/para_regex2.php.txt Yep, sorry... Just add the s preg_match_all('|]*>(.*)|Uis', $myText, $myArray); Swett! It works! If you _do get time_, would love to know the actual meaning of |]*>(.*)|Uis because although I do appreciate the help and the code, am learni

[PHP] ldap_search results limited

2008-05-07 Thread mburtch
I am running into a problem with my queries returning a limited number of result entries. The LDAP server is Kerio Mail Server, and I am verified that the SIZELIMIT in the server's configuration is 0 (no limit). For some reason, my server seems to be limited to 200 results if no limit is specified

Re: [PHP] Regex to catch s (weird result)

2008-05-07 Thread Shawn McKenzie
Ryan S wrote: preg_match_all('|]*>(.*)|Ui', $myText, $myArray); Hey! Thanks for replying. Your preg_match_all works like a charm, but for some reason catches only 8 out of 9 paragraphs... its really weird. I have upped the test page to http://www.ezee.se/tests/para_regex2.php.txt so you

Re: [PHP] Regex to catch s (weird result)

2008-05-07 Thread Ryan S
preg_match_all('|]*>(.*)|Ui', $myText, $myArray); Hey! Thanks for replying. Your preg_match_all works like a charm, but for some reason catches only 8 out of 9 paragraphs... its really weird. I have upped the test page to http://www.ezee.se/tests/para_regex2.php.txt so you can have a look

Re: [PHP] Re: Re[PHP] gex to catch s

2008-05-07 Thread Ryan S
Hey, $tag_regex=array( '/\(.*?)\<\/p\> /si' => "$1", '/\<(\s*)(*.?)class\=(*.?)\>(.*?)\<\/(*.?)\>/si' => "$3" ); $paragraphs=preg_replace(array_keys($tag_regex),array_values($tag_regex),$page); I am not sure what tag is that you mean on , but in this RE .. it should capture any tags (t

Re: [PHP] $_SESSION v. Cookies

2008-05-07 Thread Wolf
Scott Campbell <[EMAIL PROTECTED]> wrote: > Dear PHP List, > > PHP 5, Apache2, MySQL 5, running on Ubuntu, viewing & deving with > FireFox and Konqueror (Linux). > > I am building a site with multiple tools and want to pass variables > throughout them all. Before, I was passing va

Re: [PHP] the Y2K38 BUG

2008-05-07 Thread Daniel Brown
On Wed, May 7, 2008 at 11:34 AM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > > On Wed, May 7, 2008 at 1:11 AM, Paul Scott <[EMAIL PROTECTED]> wrote: > > > > > On Wed, 2008-05-07 at 00:54 -0600, Nathan Nobbe wrote: > > > > > looks like mine only goes to dec. 31, =/ > > > > > > > *Gasp!* be

Re: [PHP] Re: PHP Web Apps & OpenID

2008-05-07 Thread Joe Harman
Yeah, after reading some about it yesterday and using it on some sites, I like that it sort of simplifies some things for the end user... it really fits sites like social networking stuff well.. I am considering using this for our ecommerce site, it only becomes useful though for repeat visitors th

RES: [PHP] How to determine if file is writable and deletable

2008-05-07 Thread Thiago Pojda
If it's not, what else can? I got curious. Regards, Thiago Henrique Pojda -Mensagem original- De: Al [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 7 de maio de 2008 12:25 Para: php-general@lists.php.net Assunto: Re: [PHP] How to determine if file is writable and deletable You are

Re: [PHP] How to determine if file is writable and deletable

2008-05-07 Thread robinv
On 07/05/2008, Al <[EMAIL PROTECTED]> wrote: > I need to determine if a file is truly deletable by a php script, Deleting > permissions seem to be > the same as writing, they probably have the same criteria. You're not writing to the file, you're unlinking it from the containing directory, so it's

Re: [PHP] $_SESSION v. Cookies

2008-05-07 Thread Robert Cummings
On Wed, 2008-05-07 at 12:27 -0400, Scott Campbell wrote: > Dear PHP List, > > PHP 5, Apache2, MySQL 5, running on Ubuntu, viewing & deving with > FireFox and Konqueror (Linux). > > I am building a site with multiple tools and want to pass variables > throughout them all. Before, I was p

[PHP] $_SESSION v. Cookies

2008-05-07 Thread Scott Campbell
Dear PHP List, PHP 5, Apache2, MySQL 5, running on Ubuntu, viewing & deving with FireFox and Konqueror (Linux). I am building a site with multiple tools and want to pass variables throughout them all. Before, I was passing variables using HTML Form tags, but the site has grown too large

Re: [PHP] How to determine if file is writable and deletable

2008-05-07 Thread Al
You are missing the point of my question. I don't have a problem reading the permissions. They do not solely determine whether a file can be deleted. Aschwin Wesselius wrote: Al wrote: I need to determine if a file is truly deletable by a php script, Deleting permissions seem to be the same as

Re: [PHP] the Y2K38 BUG

2008-05-07 Thread Nathan Nobbe
On Wed, May 7, 2008 at 1:11 AM, Paul Scott <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-05-07 at 00:54 -0600, Nathan Nobbe wrote: > > > looks like mine only goes to dec. 31, =/ > > > > *Gasp!* best you get cracking on finding an alternative solution! yes, me and the rest of the immortal gang

Re: [PHP] How to determine if file is writable and deletable

2008-05-07 Thread Aschwin Wesselius
Al wrote: I need to determine if a file is truly deletable by a php script, Deleting permissions seem to be the same as writing, they probably have the same criteria. is_writable() seems to virtually useless in most cases. It doesn't take into account the directory ownership/permissions; whic

[PHP] How to determine if file is writable and deletable

2008-05-07 Thread Al
I need to determine if a file is truly deletable by a php script, Deleting permissions seem to be the same as writing, they probably have the same criteria. is_writable() seems to virtually useless in most cases. It doesn't take into account the directory ownership/permissions; which, best I ca

Re: [PHP] AI file and mapping with PHP

2008-05-07 Thread Thijs Lensselink
Quoting Angelo Zanetti <[EMAIL PROTECTED]>: Hi Guys, We have a project where by we have a map in ai format (vector format). What we want to do is to programmatically come up with a solution that say on the map there is a restaurant at a certain location, that we can zoom into the map on that sp

[PHP] php make fails with Sybase15

2008-05-07 Thread Lorena
Hi, I am having issues compiling php5.2.3 with Sybase 15. After much troubleshooting, I was able to compile it with sybase12.5. But since we are upgrading our system to Sybase 15. I need php5.2.3 to run with this version of sybase. During my web search I found out that the library files php uses/

Re: [PHP] Where to start!

2008-05-07 Thread tedd
At 1:49 PM -0400 5/6/08, Robert Cummings wrote: On Tue, 2008-05-06 at 13:42 -0400, tedd wrote: > Rob, who I respect greatly, said that 90 percent of what you are doing should be decided before you start programming. But, I never work that way either. I always jump right in and use the compu

Re: [PHP] GD - JPEG to PNG with transparency and color

2008-05-07 Thread tedd
At 12:16 PM -0400 5/6/08, Travis L. Font wrote: Following files: bg.png - Clear Transparent Image 14416fed5d4f78.jpg - Normal Jpeg Image The Code: header('content-type: image/png'); $watermark = imagecreatefromjpeg('14416fed5d4f78.jpg'); $watermark_width = imagesx($watermark); $watermark_hei

Re: [PHP] Problems with mod_vhost_alias and PHP require

2008-05-07 Thread Aschwin Wesselius
Mário Gamito wrote: Hi, I have this Apache server with mod_vhost_alias and set /home/pages/%0 as the VirtualDocumentRoot In /home/pages/gamito.foo.com I have a index.php file. This generates the http://gamito.foo.com URL. Also, I have a /home/pages/fckeditor with FCKeditor. *This is not defined

[PHP] Problems with mod_vhost_alias and PHP require

2008-05-07 Thread Mário Gamito
Hi, I have this Apache server with mod_vhost_alias and set /home/pages/%0 as the VirtualDocumentRoot In /home/pages/gamito.foo.com I have a index.php file. This generates the http://gamito.foo.com URL. Also, I have a /home/pages/fckeditor with FCKeditor. *This is not defined as a subdomain in the

Re: [PHP] AI file and mapping with PHP

2008-05-07 Thread Paul Scott
On Wed, 2008-05-07 at 12:17 +0200, Angelo Zanetti wrote: > We have a project where by we have a map in ai format (vector format). What > we want to do is to programmatically come up with a solution that say on the > map there is a restaurant at a certain location, that we can zoom into the > map o

RE: [PHP] AI file and mapping with PHP

2008-05-07 Thread Angelo Zanetti
_ From: Aschwin Wesselius [mailto:[EMAIL PROTECTED] Sent: 07 May 2008 12:21 To: Angelo Zanetti Cc: php-general@lists.php.net Subject: Re: [PHP] AI file and mapping with PHP Angelo Zanetti wrote: Hi Guys, We have a project where by we have a map in ai format (vector format).

Re: [PHP] AI file and mapping with PHP

2008-05-07 Thread Aschwin Wesselius
Angelo Zanetti wrote: Hi Guys, We have a project where by we have a map in ai format (vector format). What we want to do is to programmatically come up with a solution that say on the map there is a restaurant at a certain location, that we can zoom into the map on that specific area. I really

[PHP] AI file and mapping with PHP

2008-05-07 Thread Angelo Zanetti
Hi Guys, We have a project where by we have a map in ai format (vector format). What we want to do is to programmatically come up with a solution that say on the map there is a restaurant at a certain location, that we can zoom into the map on that specific area. I really am not sure where to st

[PHP] Re: PHP Web Apps & OpenID

2008-05-07 Thread Colin Guthrie
Joe Harman wrote: I am curious here if any of you are considering or already using OpenID or Windows CardSpace? Does anyone see this being a big deal??? from a users stand point it seems like a big hassle to get started with it and I'm not sure if it would scare people away or not? any thoughts

RE: [PHP] the Y2K38 BUG

2008-05-07 Thread Chris Haensel
-Original Message- From: Paul Scott [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 07, 2008 9:12 AM To: Nathan Nobbe Cc: Kalle Sommer Nielsen; Jon L.; Chetan Rane; php-general@lists.php.net Subject: Re: [PHP] the Y2K38 BUG On Wed, 2008-05-07 at 00:54 -0600, Nathan Nobbe wrote: > looks l

Re: [PHP] the Y2K38 BUG

2008-05-07 Thread Paul Scott
On Wed, 2008-05-07 at 00:54 -0600, Nathan Nobbe wrote: > looks like mine only goes to dec. 31, =/ > *Gasp!* best you get cracking on finding an alternative solution! --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/portal_services/disclai