[PHP] PHP 4.4.2RC2

2006-01-05 Thread Derick Rethans
Hello! I packed PHP 4.4.2RC2 today, which you can find here: http://downloads.php.net/derick/ Please test it carefully, and report any bugs in the bug system, but only if you have a short reproducable test case. Please do not commit any changes to the PHP_4_4 tree until PHP 4.4.2 is released,

[PHP] fopen/fwrite and owner/group settings

2006-01-05 Thread Mathijs
Hello there, I Have a problem with some file writeing. I Use fopen to create a new file, but that file gets the owner and group the same as the apache owner and group. How can i change it so that the file gets the same owner/group as the files i upload with FTP? Thx in advanced -- PHP

Re: [PHP] fopen/fwrite and owner/group settings

2006-01-05 Thread Silvio Porcellana [tradeOver]
Mathijs wrote: Hello there, I Have a problem with some file writeing. I Use fopen to create a new file, but that file gets the owner and group the same as the apache owner and group. How can i change it so that the file gets the same owner/group as the files i upload with FTP? Thx

Re: [PHP] How to: Search web for specific file type?

2006-01-05 Thread Jochem Maas
Michael Hulse wrote: Hello, Just curious if anyone could give me some google keywords/links/suggestions/tips/comments/feedback on a good place to start for writing a search engine script. I think I might have a good idea for a specific type of search engine. Basically it would crawl web

[PHP] Re: [PHP-DEV] PHP 4.4.2RC2

2006-01-05 Thread Edin Kadribasic
Hi, Windows package is available at: http://downloads.php.net/edink/php-4.4.2RC2-Win32.zip Edin Derick Rethans wrote: Hello! I packed PHP 4.4.2RC2 today, which you can find here: http://downloads.php.net/derick/ Please test it carefully, and report any bugs in the bug system, but

Re: [PHP] How to: Search web for specific file type?

2006-01-05 Thread Michael Hulse
On Jan 5, 2006, at 3:49 AM, Jochem Maas wrote: good a place as any: http://www.acmqueue.com/modules.php?name=Contentpa=showpagepid=143 Hi! Thanks for link, visiting now. :) I might suggest that you first google for 'how to write a search engine'; then do a lot of reading; Have done... a

Re: [PHP] Newbie question: need to transfer directory contents from my local machine to my website

2006-01-05 Thread Jochem Maas
Jon Westcot wrote: Hi all: Thanks to those who replied to my earlier question. I understand now that what I really need to do is to set up a local server and MySQL for my project, as PHP seems rife with ways to query the local server's folder structure. I am assuming that you are only

[PHP] Re: Setting cookie for two domains.

2006-01-05 Thread Mark
Shafiq Rehman wrote: Hi, How can I register a session or cookie for two domains. I want to maintain logged user's state when he goes from one domain to other domain. Example Suppose a user is logged in on domain1.com. A cookie is set and user is authenticated from database on the basis

Re: [PHP] Setting cookie for two domains.

2006-01-05 Thread Jochem Maas
Shafiq Rehman wrote: Hi, How can I register a session or cookie for two domains. I want to maintain logged user's state when he goes from one domain to other domain. Example Suppose a user is logged in on domain1.com. A cookie is set and user is authenticated from database on the basis of that

RE: [PHP] Setting cookie for two domains.

2006-01-05 Thread Albert
Shafiq Rehman wrote: How can I register a session or cookie for two domains. I want to maintain logged user's state when he goes from one domain to other domain. My Sat TV provider uses something like what you want to allow me to navigate through their website and the websites of different

[PHP] Re: Setting cookie for two domains.

2006-01-05 Thread Al
Shafiq Rehman wrote: Hi, How can I register a session or cookie for two domains. I want to maintain logged user's state when he goes from one domain to other domain. Example Suppose a user is logged in on domain1.com. A cookie is set and user is authenticated from database on the basis of that

Re: SV: [PHP] PHP programmers from hyderabad

2006-01-05 Thread Jochem Maas
Mattias Segerdahl wrote: Hyderabd, India? Would you stop flaming the list with these requests? Looking at your website, not a single experienced programmer would even consider applying to the job mentioned. Not only does the website look like it's made by someone with the know-how of a

[PHP] help register domain name

2006-01-05 Thread n.g.
hi, i want to register a domain name through NetworkSolutions.com, but it require a credit card which i dont have to pay the bill. if you have a credit card, i can transfer to your account, and then you please regiter the domain using my info. or if you have any other ways to do so. p.s. i live

Re: [PHP] help register domain name

2006-01-05 Thread John Nichel
n.g. wrote: hi, i want to register a domain name through NetworkSolutions.com, but it require a credit card which i dont have to pay the bill. if you have a credit card, i can transfer to your account, and then you please regiter the domain using my info. or if you have any other ways to do

RE: [PHP] help register domain name

2006-01-05 Thread Jay Blanchard
[snip] hi, i want to register a domain name through NetworkSolutions.com, but it require a credit card which i dont have to pay the bill. if you have a credit card, i can transfer to your account, and then you please regiter the domain using my info. or if you have any other ways to do

[PHP] Re: Setting cookie for two domains.

2006-01-05 Thread Mark
Shafiq Rehman wrote: Hi, How can I register a session or cookie for two domains. I want to maintain logged user's state when he goes from one domain to other domain. Example Suppose a user is logged in on domain1.com. A cookie is set and user is authenticated from database on the basis

[PHP] php_admin_* directives in a phpSuExec environment

2006-01-05 Thread Santi Saez
Hello, Is there anyway to prevent users from modifying limits imposed by php.ini configuration in a phpSuExec configured PHP installation?? For example in server with PHP running in a module, I use php_admin_* directives: php_admin_value memory_limit 40M And users can't modify them from

Re: SV: [PHP] PHP programmers from hyderabad

2006-01-05 Thread Robert Cummings
On Thu, 2006-01-05 at 09:46, Jochem Maas wrote: http://cow.neondragon.net/index.php/375-Annoying-Things-About-Php I wanted to add a comment to that blog, the guy seems to think returning references is faster than returning copies, which is only true if the return value is later modified and

[PHP] Very high speed session management -- help me test

2006-01-05 Thread Mark
I have a program called MCache, it used to be MSession. I'm trying to get the word out and get some testers. The server itself is GPL, the PHP extension is under the PHP license. I will be checking it in to the PHP main CVS repository when I'm pretty sure that it will play nice. The server can

Re: SV: [PHP] PHP programmers from hyderabad

2006-01-05 Thread Jochem Maas
Robert Cummings wrote: On Thu, 2006-01-05 at 09:46, Jochem Maas wrote: http://cow.neondragon.net/index.php/375-Annoying-Things-About-Php I wanted to add a comment to that blog, the guy seems to think returning references is faster than returning copies, which is only true if the return

RE: [PHP] Very high speed session management -- help me test

2006-01-05 Thread Jay Blanchard
[snip] I have a program called MCache, it used to be MSession. I'm trying to get the word out and get some testers. The server itself is GPL, the PHP extension is under the PHP license. I will be checking it in to the PHP main CVS repository when I'm pretty sure that it will play nice. The

Re: [PHP] Very high speed session management -- help me test

2006-01-05 Thread Jochem Maas
hi Mark, Mark wrote: I have a program called MCache, it used to be MSession. I'm trying to get why 'Cache' - its a session handler right? (I think the name is a little confusing, but maybe its just me - I have been adding cache mechanisms to a site for the last month or so!) is this better

Re: [PHP] Re: Setting cookie for two domains.

2006-01-05 Thread Shafiq Rehman
Hello Guys, Thanx a lot for sharing some really great ideas. especial Mark and Albert has suggested some great stuff to do. Thanx a lot. -- *** phpgurru.com [A php resource provider] *** \\\|/// \\ - - // ( @ @ ) PHP is too logical for my brain

Re: [PHP] help register domain name

2006-01-05 Thread Shafiq Rehman
This person should be awarded with some great prize :) Great topic. On 1/5/06, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] hi, i want to register a domain name through NetworkSolutions.com, but it require a credit card which i dont have to pay the bill. if you have a credit card, i

Re: [PHP] help register domain name

2006-01-05 Thread Al
John Nichel wrote: n.g. wrote: hi, i want to register a domain name through NetworkSolutions.com, but it require a credit card which i dont have to pay the bill. if you have a credit card, i can transfer to your account, and then you please regiter the domain using my info. or if you have

[PHP] Timezone and DST

2006-01-05 Thread Mark Steudel
Hi All, I've got a little problem where our servers are in PST but the customer operates in Hawaii (-10 GMT). I believe I can just get the time for them by doing something like date(d H i, strtotime('now -2 hours') ); But here's the catch, how should I deal with day light savings ( DST) . In

Re: [PHP] Timezone and DST

2006-01-05 Thread Mike Tuller
Are you just displaying the time, or is this for submission in a database? On Jan 5, 2006, at 12:50 PM, Mark Steudel wrote: Hi All, I've got a little problem where our servers are in PST but the customer operates in Hawaii (-10 GMT). I believe I can just get the time for them by doing

[PHP] [X-PHP] [PHP] help register domain name

2006-01-05 Thread tedd
Is there also a prize for those who STILL think that everyone uses the same font so their ASCII artwork will display as intended? :-) tedd This person should be awarded with some great prize :) Great topic. -snip- -- *** phpgurru.com [A php resource provider] ***

RE: [PHP] Timezone and DST

2006-01-05 Thread Mark Steudel
Im just using it to set defaults on a QuickForm date element. -Original Message- From: Mike Tuller [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 11:02 AM To: Mark Steudel Cc: php-general@lists.php.net Subject: Re: [PHP] Timezone and DST Are you just displaying the time, or

[PHP] complex arrays

2006-01-05 Thread Sjef Janssen
Hallo there, I try to put a number of variables in an array as follows: input boxes gather info. This info is language dependent, so the info is put into an array vke with indexes NL and EN. The POST variable gives this array back. Then I want to add a variable to this array, 'gebruikt' (=used)

Re: [PHP] Timezone and DST

2006-01-05 Thread Mike Tuller
I hate doing this, but you could use Javascript to use the date and time set on the clients computer. You can't control how they have it set though. On 1/5/06 1:13 PM, Mark Steudel [EMAIL PROTECTED] wrote: Im just using it to set defaults on a QuickForm date element. -Original

[PHP] set variable to go outside scope

2006-01-05 Thread Mike Tuller
I have a table listing items in a database, and have a delete button next to each item, and I want to be able to click on the delete and delete only that record in the database and then reload the page where it would display the updated information. Here is part of the code I have.

RE: [PHP] set variable to go outside scope

2006-01-05 Thread Jay Blanchard
[snip] They key I am using to find the record I want to delete is the the $row[id], but that is out of the scope of where the variable is set. Is there a way to set a variable so that it goes outside the scope? [/snip] What do you mean by out of the scope of where the variable is set? If the

Re: [PHP] Very high speed session management -- help me test

2006-01-05 Thread Mark
Jochem Maas wrote: hi Mark, Mark wrote: I have a program called MCache, it used to be MSession. I'm trying to get why 'Cache' - its a session handler right? (I think the name is a little confusing, but maybe its just me - I have been adding cache mechanisms to a site for the last month

Re: [PHP] Timezone and DST

2006-01-05 Thread Chris Boget
I've got a little problem where our servers are in PST but the customer operates in Hawaii (-10 GMT). I believe I can just get the time for them by doing something like date(d H i, strtotime('now -2 hours') ); But here's the catch, how should I deal with day light savings ( DST) . In hawaii

Re: [PHP] set variable to go outside scope

2006-01-05 Thread Mike Tuller
The list listing is in an if/elseif statement where if something is set, display the table that has the data, and elseif you click on the delete button, you would delete the data in the row of the table that is is the if statement. One part of the data is in the if scope, and the other is

[PHP] Set variable outside of scope (redo)

2006-01-05 Thread Mike Tuller
Excuse the last post, I didn't have all the code it there. I have a table listing items in a database, and have a delete button next to each item, and I want to be able to click on the delete and delete only that record in the database and then reload the page where it would display the updated

RE: [PHP] set variable to go outside scope

2006-01-05 Thread Jay Blanchard
[snip] The list listing is in an if/elseif statement where if something is set, display the table that has the data, and elseif you click on the delete button, you would delete the data in the row of the table that is is the if statement. One part of the data is in the if scope, and the

[PHP] Re: complex arrays

2006-01-05 Thread Sjef
Oeps, it's already complex to explain this. The array that needs to be created and read is looking like this $vArray = array('uses'='J', $_POST['vke']); Maybe that will clear up thing a (tiny) bit). Thanks again, Sjef Sjef Janssen [EMAIL PROTECTED] schreef in bericht news:[EMAIL PROTECTED]

[PHP] XML Session serializer announcement and call for testers

2006-01-05 Thread Mark
One of the problems I have had with the PHP session system is that it does not use a readily usable text format for serializing data. This makes using session data outside of PHP virtually impossible. I looked at the WDDX extension and was not too impressed: it was way too verbose and didn't use

Re: [PHP] set variable to go outside scope

2006-01-05 Thread Mike Tuller
It's more like this: if { $x=1; echo $x; } elseif { echo $x; } On Jan 5, 2006, at 1:51 PM, Jay Blanchard wrote: [snip] The list listing is in an if/elseif statement where if something is set, display the table that has the data, and elseif you click on the delete

[PHP] Re: Set variable outside of scope (redo)

2006-01-05 Thread Al
Mike Tuller wrote: Excuse the last post, I didn't have all the code it there. I have a table listing items in a database, and have a delete button next to each item, and I want to be able to click on the delete and delete only that record in the database and then reload the page where it would

Re: [PHP] Re: Set variable outside of scope (redo)

2006-01-05 Thread comex
if ($row[range] != ) This should be $row['range'], not $row[range], although it doesn't make a difference unless you define a constant named range. Your problem isn't actually scope, it's that your PHP script is being called twice. Once to show the form, once to submit it. The second

Re: [PHP] Set variable outside of scope (redo)

2006-01-05 Thread Aaron Koning
Generally, scope is fairly loose in PHP. If $row is set by mysql_fetch_array(...) it should carry throughout your script as it is, unless modified. Try commenting out non-relavant pieces of the code and var_dump(...)ing the $row variable at the start and throughout the script. Aaron On 1/5/06,

Re: [PHP] help register domain name

2006-01-05 Thread Mark Charette
Al wrote: John Nichel wrote: n.g. wrote: hi, i want to register a domain name through NetworkSolutions.com, but it require a credit card which i dont have to pay the bill. if you have a credit card, i can transfer to your account, and then you please regiter the domain using my info. or

[PHP] Pages Expiring

2006-01-05 Thread Ben Miller
When using forms with PHP sessions, hitting the back button results in WARNING: Page has Expired I am wondering if there is a work around for this so that it (IE, in this case) resubmits the form information and displays the previous page. Any ideas? -- PHP General Mailing List

[PHP] printing keys and values of array

2006-01-05 Thread Ahmed Abdel-Aliem
Hi i need some help with printing an array, i would like to print the keys and the values of them example : if i have an array like that [EXTENDED] = Array ( [RTCode] = CASE395 [ManuPartNum]

Re: [PHP] printing keys and values of array

2006-01-05 Thread Zareef Ahmed
read about foreach function. Zareef Ahmd - Original Message - From: Ahmed Abdel-Aliem [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Thursday, January 05, 2006 7:58 PM Subject: [PHP] printing keys and values of array Hi i need some help with printing an array, i would like

RE: [PHP] printing keys and values of array

2006-01-05 Thread Brady Mitchell
-Original Message- i need some help with printing an array, i would like to print the keys and the values of them example : I use the dump_array posted by examancer at the following address: http://www.phpbuilder.com/board/showthread.php?t=10213508 when debugging, it should work well

Re: [PHP] Newbie question: need to transfer directory contents fr om my local machine to my website

2006-01-05 Thread Jon Westcot
Jochem: My most sincere apologies for not replying to your questions. I've been suffering with a rather dibilitating head cold the last few days and somehow glossed over your questions. 1. what is the local machine? Just my local workstation. 2. where does the DB live? (is it a

Re: [PHP] printing keys and values of array

2006-01-05 Thread Jim Moseby
Ahmed Abdel-Aliem wrote: ... and i like to print it this way RTCode:CASE395 ... foreach($array as $key=$value){echo $key.':'.$value;} JM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Pages Expiring

2006-01-05 Thread Gustav Wiberg
Hi there! Yes, actually there is a dirty solution to this. You can use javascript to skip certain pages in historylist. window.document.replace('page1.php'); window.document.location = 'page2.php'; window.document.location.replace('page3.php'); The only page that would exist in the history

[PHP] how to find the system tmp folder

2006-01-05 Thread Samuel DeVore
How does one find the system temp folder? from php? in a platform independant way

Re: [PHP] how to find the system tmp folder

2006-01-05 Thread Travis Doherty
Samuel DeVore wrote: How does one find the system temp folder? from php? in a platform independant way This should help: http://www.php.net/manual/en/function.tempnam.php It does return the name of the temp file created (or FALSE), which could be parsed to get the temp directory as PHP best

[PHP] Re: How to: Search web for specific file type?

2006-01-05 Thread David Robley
Michael Hulse wrote: Hello, Just curious if anyone could give me some google keywords/links/suggestions/tips/comments/feedback on a good place to start for writing a search engine script. I think I might have a good idea for a specific type of search engine. Basically it would crawl web