[PHP] passing array of variables in a query string

2002-03-01 Thread Diana Castillo
I was wondering if someone could help me with this: what I need to know is how to pick up an array of variables from a query string such as: http://wwwarchiprocom/testphp?state=ABstate=BC If I use $state, I get only the last one -- PHP General Mailing List (http://wwwphpnet/) To

[PHP] Non printable page

2002-03-01 Thread Diana Castillo
Is there any way tomake a page that cannot be printed?? -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

[PHP] replacing first occurence

2002-04-24 Thread Diana Castillo
What function can I use to replace just the first occurence of a , in a string? Thank you -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Mail server

2002-05-05 Thread Diana Castillo
Does anyone know of a free mail server to install on a linux server that works better than fmail? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mail function

2002-05-05 Thread Diana Castillo
Hi, if I use the mail function, as in : mail([EMAIL PROTECTED], My Subject, Line 1\nLine 2\nLine 3); The mail comes from Webserver How can I change the from ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Upload picture files

2002-05-10 Thread Diana Castillo
What utility or function can I use to upload pictures from the users computer in a form ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] can't upload files

2002-05-15 Thread Diana Castillo
I am using this script: to upload a picture file and I get the error below: Unable to create 'hgh6.gif': Permission denied in /home/vhtdocs/archipro/do_upload.php on line 13 Couldn't copy the file! - What am I doing wrong form enctype=multipart/form-data method=post action=do_upload.php

[PHP] Tellwhich browser

2002-05-15 Thread Diana Castillo
What is the code to tell whether the user is on IE or Netscape? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] export data to text file

2002-09-28 Thread Diana Castillo
Hi, I want to export some fields on a regular basis from a table to a text file, preferable to the users local computer. I tried writing to a file with fopen but I get permission denied when I try to open it for writing. What is the best solution? Thanks, Diana -- See my web page:

Re: [PHP] export data to text file

2002-09-28 Thread Diana Castillo
rd drive would you? It might be possible if you write an applet, otherwise, pretty much the only thing you should be able to write to the hard drive is a cookie. HTH Todd. -Original Message- From: Diana Castillo [mailto:[EMAIL PROTECTED]] Sent: Sunday, 29 September 2002

[PHP] mail doesnt work

2007-09-06 Thread Diana Castillo
when I try to send mail using this code: mail([EMAIL PROTECTED],TEST MAIL,TESTING MAIL); I get this error: Warning: mail() [function.mail]: SMTP server response: 554 [EMAIL PROTECTED]: Recipient address rejected: Access denied in C:\Inetpub\wwwroot\intranet\test.php on line 4 my settings in

[PHP] cant mail

2007-09-06 Thread Diana Castillo
when I try to send mail using this code: mail([EMAIL PROTECTED],TEST MAIL,TESTING MAIL); I get this error: Warning: mail() [function.mail]: Failed to connect to mailserver at smtp.tsanalytics.com port 25, verify your SMTP and smtp_port setting in php.ini or use ini_set() in

Fw: [PHP] cant mail

2007-09-06 Thread Diana Castillo
sorry I dont know how to run that telnet command, it doesnt work in my dos window. I downloaded absolute telnet but I dont know how to send a message withit. as far as sendmail_from, I already have that set to an email, so that isnt theproblem. Could it be that in out look express it

Fw: [PHP] cant mail

2007-09-06 Thread Diana Castillo
I found telenet.exe that comes with windows, but when I type in SMTPSERVER 25, type EHLO ENTER it says Command not valid -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] encoding a + sign

2005-08-01 Thread Diana Castillo
what type of encoding should I use to send a + sign via XML? -- Diana Castillo Destinia.com C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 Ext 216 Fax : 00-34-915228673 email: [EMAIL PROTECTED] Web : http://www.hotelkey.com http://www.destinia.com -- PHP General

[PHP] carriage return

2005-08-05 Thread Diana Castillo
How can I with php detect when there is a carriage return at the end of the text field in a mysql table? -- Diana Castillo Destinia.com C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 Ext 216 Fax : 00-34-915228673 email: [EMAIL PROTECTED] Web : http://www.hotelkey.com

[PHP] webservice

2006-03-30 Thread Diana Castillo
:\inetpub\wwwroot\usr\local\global\php\online\SOAP\Client.php [line] = 311 [function] = call -- Diana Castillo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] session_start

2006-04-06 Thread Diana Castillo
. -- Diana Castillo Destinia.com C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 Ext 216 Fax : 00-34-915228673 email: [EMAIL PROTECTED] Web : http://www.hotelkey.com http://www.destinia.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] getting list of files included

2006-01-20 Thread Diana Castillo
does anyone know of a command in php that will give you a list of the files already included . Something that would tell you whether a file is already included before you do the require_once ? -- Diana Castillo Destinia.com C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039

[PHP] FOPEN

2005-02-17 Thread Diana Castillo
How can I read the contents of a web page that uses basic authentication? I want to use fopen() but dont know how to do this and also send the username and password -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 Ext 216 Fax : 00-34

[PHP] sentence case

2005-02-23 Thread Diana Castillo
with php, HOW CAN I CONVERT SENTENCES LIKE THIS . TO BE UPPER AND LOWER CASE to become like this : How can I convert sentences like this. To be upper and lower case. -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 Ext 216 Fax : 00-34

[PHP] what does this mean?

2005-02-25 Thread Diana Castillo
on which page of php.net can I find out what this code does? $a = $b? $a :dian; -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 Ext 216 Fax : 00-34-915228673 email: [EMAIL PROTECTED] Web : http://www.hotelkey.com http

[PHP] getting text with strange encodng

2005-03-17 Thread Diana Castillo
Does anyone know what kind of string encoding this is : regreg mAreg and how can I decode this? -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 Ext 216 Fax : 00-34-915228673 email: [EMAIL PROTECTED] Web : http://www.hotelkey.com

Re: [PHP] getting text with strange encodng

2005-03-18 Thread Diana Castillo
no, its not html entity, it doesnt have a semicolon, its exactly as I wrote it. Chris Shiflett [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Diana Castillo wrote: Does anyone know what kind of string encoding this is : regreg mAreg and how can I decode this? That looks almost

[PHP] Re: getting text with strange encodng

2005-03-18 Thread Diana Castillo
from a text description provided via an xml Jim Plush [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Where did the string come from? Jim PHP WebBlog = http://www.litfuel.net/plush/ Diana Castillo wrote: Does anyone know what kind of string encoding this is : regreg mAreg

[PHP] check for alphanumeric characters

2005-04-29 Thread Diana Castillo
what kind of a function can I use that will tell me whether a variable is alphanumeric (that is has only characters A-Z or 1-9 )? -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 Ext 216 Fax : 00-34-915228673 email: [EMAIL PROTECTED] Web

[PHP] run query

2002-12-10 Thread Diana Castillo
After I run a query lik this, $db-query($sql); what is the quickest way to find out how many records result? Without having to loop through them all? Thank you , Diana -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] number of records

2002-12-10 Thread Diana Castillo
After I run a query lik this, $db-query($sql); what is the quickest way to find out how many records result? Without having to loop through them all? Thank you , Diana -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] date part

2002-12-19 Thread Diana Castillo
How can I get a string containing the month part of a date the user types in? e.g. if they type in 06/07/200 I want to get 06 thanks, diana -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] validate date

2002-12-19 Thread Diana Castillo
If a user inputs a date into a form, what function can I use to validate that he put in a valid date? I want to use checkdate but that needs the date split up into day, month year. Anyone have an easy way of doing this? Thanks, Diana -- PHP General Mailing List (http://www.php.net/) To

[PHP] inserting date

2003-01-22 Thread Diana Castillo
When I insert a date into Mysql it has to be in year/month/day format or else it wont go in right. how do I convert my date variable which is in month /day /year format into year/month/day format? -- Productos de salud: http://www.nvtechnologies.com/hgh -- PHP General Mailing List

[PHP] capturing reloads

2003-07-30 Thread Diana Castillo
anyone know how to catch if someone has reloaded a page? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] attach

2003-08-04 Thread Diana Castillo
Hi, Can you tell me how to attach files when using the php mail function? Thanks, Diaan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] session variables

2003-08-29 Thread Diana Castillo
I am having a weird problem, when I close all my browser windows and restart my application, the session variable which I set comes back suddenly, but only when I call a certain class . -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] session variables

2003-09-01 Thread Diana Castillo
I am having a weird problem, when I close all my browser windows and restart my application, the session variable which I set comes back suddenly, but only when I call a certain class . As far as I know the session variables should disappear when I close the browser. Why would they suddenly come

[PHP] session.cookie_domain

2003-09-01 Thread Diana Castillo
I am using ini_set(session.cookie_domain,.interhotel.com); so that session variables wont get lost between a domain called www.interhotel.com and res.interhotel.com but they still get lost ! does this function work perfectly, or am I doign something wrong? -- PHP General Mailing List

[PHP] on-line

2003-06-03 Thread Diana Castillo
en línea da errores el funcionamiento de esta pagina , pruébalo también en netscape. http://res.interhotel.com/reservas/diana/site/admin/ProviderPriority.php gracias, diana -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] @getimagesize

2003-06-03 Thread Diana Castillo
I use @getimagesize to resize pictures that I get from a url which comes from a database which is always changing. The problem is that sometimes the url does not contain the picture is is supposed to , and then I get the following error - I can't seem to get rid of this error, does anyone know

[PHP] sql question

2003-06-04 Thread Diana Castillo
If I have a date in unix format in a numeric field in my table (Mysql) and I want to compare it to a date which is in unixformat also, will the query work like this? SELECT from tarifs where unix_from_date=.$dateinunixformat -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] @getimagesize

2003-06-04 Thread Diana Castillo
THANKS FOR all your help, I found out it was a custom error handling program that we had that was putting out that error. John Coggeshall [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Are you using PHP 4.3.2? Try upgrading :) John On Tue, 2003-06-03 at 05:23, Diana Castillo wrote

[PHP] unix time stamp to readable date

2003-06-05 Thread Diana Castillo
I know this is a stupid question but I am confused, how do I convert a unix timestamp to a readable date with php? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] cache

2003-06-11 Thread Diana Castillo
what code can I put at the begining of a php page so that the result from the cache is never shown ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] array

2003-06-12 Thread Diana Castillo
If I write a code like this, $room_type=array(); $room_type[0][0]=4; echo BRvalue in array is .$room_type[0][0]; yet I dont get any results out, what did i do wrong? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] array

2003-06-12 Thread Diana Castillo
you ´re right, I had used the same variable name as something else in between ! thanks. - Original Message - From: Leif K-Brooks [EMAIL PROTECTED] To: Diana Castillo [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, June 12, 2003 5:58 PM Subject: Re: [PHP] array Nothing as far

[PHP] XML

2003-06-13 Thread Diana Castillo
does anyone know if there are any advantages/disadvantages as far as performance to using one of the following methods for gettting xml responses? 1) get 2)normal post with php 3)curl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] speed on XML files

2003-06-16 Thread Diana Castillo
I have problems receiving large xml files, they take too long, does anyone have a solution? thank you, Diana -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: speed on XML files

2003-06-16 Thread Diana Castillo
I send an xml request to a remote server and get back the xml response. Catalin Trifu [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Receiving from where ? Cheers, Catalin Diana Castillo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have problems

[PHP] fopen on foto

2003-06-16 Thread Diana Castillo
Hi, when I do an fopen on this file I get an error, however the jpg is there, why do I get this error? http://www.touricoholidays.com/pictures/miami south beach/ritz plaza - front.jpg this is the error I get: failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request at

[PHP] sorting an array

2003-06-17 Thread Diana Castillo
Hi , I am trying to sort this: array[numrooms] = Array ( [3] = 2 [2] = 5 [1] = 1 ) I want to get a result like this: 2=5 3=2 1=1 ( I want the keys to stay attached to the results) I used this to sort it : array_multisort ($request_array['numrooms'], SORT_NUMERIC, SORT_DESC); but instead I get

[PHP] go through array

2003-06-17 Thread Diana Castillo
I have this array: Array ( [2] = 6 [1] = 2 [3] = 2 ) how do I go through it and get the key and the value in this order? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] go through array

2003-06-18 Thread Diana Castillo
thanks, now if I want to take off the first element how can I do it and also get the key back as well ? If I do an array shift that resets the keys and I dont want to do that. David Nicholson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, This is a reply to an e-mail that you

[PHP] array_shift

2003-06-18 Thread Diana Castillo
how can I do an array shift without reseting the keys? how can I get the key of the first element removed with an array _shift? thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: array_shift

2003-06-18 Thread Diana Castillo
never mind I found the answer, use key(arrayname) to get the key and next(arrayname) to move to next element without reseting the keys. Diana Castillo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] how can I do an array shift without reseting the keys? how can I get the key

[PHP] post xml

2003-02-27 Thread Diana Castillo
I am sending an xml request as part of the url using urlencode to encode my xml. It doesnt work like that so the server that is receiving it doesnt seem to like the data in the query string. However, if I send it from a form using the method post then it works fine. Is there a way to send it by

[PHP] http_post

2003-02-28 Thread Diana Castillo
Hi , I am trying the following code but get no response from the server, can someone tell me what I am doing wrong? thank you. ?php function http_post($server, $port, $url, $vars) { // example: // http_post( // www.fat.com, // 80, // /weightloss.pl, // array(name =

[PHP] http_post

2003-02-28 Thread Diana Castillo
I also tried the following code and get no response, can anyone tell me what I did wrong? ? # http_post - PHP3 class for posting a 'form' from within a php3 script # # Alan van den Bosch ([EMAIL PROTECTED]) # # You are granted the right to use and/or redistribute this # and you accept that no

[PHP] posting from php

2003-02-28 Thread Diana Castillo
I found an excellent article and explanation http://zend.com/zend/spotlight/mimocsumissions.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] strip http headers

2003-02-28 Thread Diana Castillo
is there any predefined procedure to strip http headers from a response? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] XML Question

2003-03-03 Thread Diana Castillo
what does harvest mean? what would the function harvest do? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] array question

2003-03-10 Thread Diana Castillo
If I sort an array, and now the keys are not in numerical order, how can I get the key of the first element? If I do array_shift I get the first element but I want that key. Thanks, Diana -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] active x like

2003-03-10 Thread Diana Castillo
I am using php to send an xml request, but the people on the side that receives the xml says they can only receive from activex generated xml (with code similar to below) Does anyone know how to generate the xml from php so it comes out exactly like it does from this active x object? var s; var

[PHP] arrray

2003-03-10 Thread Diana Castillo
Is the only way to keep an array alive between one class and another to store it as a session array? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] pop top off a multi dimensional array

2003-03-11 Thread Diana Castillo
If I have a multi dimension array like this: Array ( [provider] = Array ( [0] = 3 [1] = 2 [2] = 4 [3] = 1 ) [priority] = Array ( [0] = 1 [1] = 2 [2] = 3 [3] = 4 ) how do I take off the top elements so I will only have three providers and three priorities left? If I do array_shift, it takes off all

[PHP] Re: pop top off a multi dimensional array

2003-03-11 Thread Diana Castillo
I found the answer: $w = array_shift ($_SESSION[providerarray][provider]); $w = array_shift ($_SESSION[providerarray][priority]); Diana Castillo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] If I have a multi dimension array like this: Array ( [provider] = Array ( [0] = 3 [1] = 2

[PHP] date

2003-03-14 Thread Diana Castillo
If I have a date in this format :19-MAR-03 how do I get the next date (the date plus 1)? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] installing cUrl

2003-03-25 Thread Diana Castillo
Hi, I am running windows XP and I am looking for a way to install Curl, cant seem to find a version that I can easily install just by clicking on Setup.exe , does anyone know how to install it on XP? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] curl

2003-03-25 Thread Diana Castillo
How can I tell if I have successfully installed curl on my windows XP machine? What is the syntax for sending a test curl command? I tried this and got a syntax error: curl http://www.netscape.com/; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] getimagesize

2003-03-26 Thread Diana Castillo
anyway to not get an error when doing getimagesize if you get this response? HTTP request failed! HTTP/1.1 404 Not Found -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] version

2003-03-27 Thread Diana Castillo
How can I tell which version of php I have? I didnt see it with phpinfo() -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] getimagesize

2003-03-27 Thread Diana Castillo
no that doesnt work, anything else? Dan Rossi [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] @getimagesize ? -Original Message- From: Diana Castillo [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 5:04 AM To: [EMAIL PROTECTED] Subject: [PHP] getimagesize

[PHP] errors

2003-03-27 Thread Diana Castillo
How can I skip an error? For instance in ASP it would be on error and then you would skip the next error. I want to be able to skip when I get the 404 File not found error in a specific part when I am using getimagesize. Thanks, Diana -- PHP General Mailing List (http://www.php.net/) To

[PHP] parsing

2003-03-28 Thread Diana Castillo
Hi, when I am parsing an XML document, it doesnt parse paragraphs that have line feeds correctly. For instance, if the tag is Descriptionline 1 line2 line3 /description it loses everything before line 3 . seems to take the line feeds as a new node or something. does anyone have any tips to get

[PHP] line feeds

2003-03-28 Thread Diana Castillo
How can I remove all line feeds from a document? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] month

2003-04-01 Thread Diana Castillo
how do you get just the month (in numeric format ) of a specific date. (not today) same for day and year. The date is in -dd-mm format to start with. thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] @getimagesize

2003-04-03 Thread Diana Castillo
even though I use a @getimagesize , I still get the following Warning when the image is not on the server. I need to somehow not have the warning come out when there is no image there. Warning: getimagesize(http://www.hotelresb2b.com/planos/PLHAHC019330.GIF) [function.getimagesize]: failed to

Re: [PHP] @getimagesize

2003-04-03 Thread Diana Castillo
with file_exists(). Niklas -Original Message- From: Diana Castillo [mailto:[EMAIL PROTECTED] Sent: 3. huhtikuuta 2003 11:42 To: [EMAIL PROTECTED] Subject: [PHP] @getimagesize even though I use a @getimagesize , I still get the following Warning when the image is not on the server. I need

[PHP] convert \ to /

2003-10-08 Thread Diana Castillo
I am receiving some data in which the sender has mistakenly sent urls with \ instead of / to separate directories. e.g. http://www.anysite.com\page.htm I need to convert this string to http://www.anysite.com/page.htm but str replace (\,/,$var) doesnt work. any ideas as to how to convert it. --

[PHP] pad numbers

2003-10-10 Thread Diana Castillo
is there a function to convert a number that has less than two digits into a number with a leading zero? for instance, to convert a 5 to 05 but to leave a 11 as 11 thanks, Diana -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] date for mysql

2003-10-17 Thread Diana Castillo
how can I format the current date and time so that I can insert it into a mysql table with an insert query? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] similar_text

2003-10-21 Thread Diana Castillo
does any one have an example of a function to search a database for similar names and display them if the user inputs a name that is not found? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] convert string to number

2003-11-17 Thread Diana Castillo
what is the easiest way to convert a string like this 1,300.99 to a number? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] time out for mysql_connect

2003-11-21 Thread Diana Castillo
Is there anyway to set a time out on this command: mysql_connect($host, $UN, $PW); so that if it can´t connect after a certain amount of time, it returns an error and the program continues? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] _ENV

2004-01-09 Thread Diana Castillo
Can someone tell me the name of the environmental variable that tells you the path that you are in? -- -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 Fax : 00-34-915228673 email: [EMAIL PROTECTED] Web : http://www.hotelkey.com http

[PHP] limit mysql connections

2004-01-09 Thread Diana Castillo
Is there any way to limit the connections so that this error never happens? Warning: mysql_connect(): Too many connections at /home/local/global/php/libraries/dblayer_mysql.php line 14. -- -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039

[PHP] date fiedl

2004-01-19 Thread Diana Castillo
Does anyone know if there is any speed advantage to saving a date as a unix timestamp or a numeric field instead of a date field? (in Mysql) thanks, -- -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 Fax : 00-34-915228673 email: [EMAIL

[PHP] unsupported operand types

2004-01-19 Thread Diana Castillo
-getAttribute(value); $price=$price+$room_price; -- -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 Fax : 00-34-915228673 email: [EMAIL PROTECTED] Web : http://www.hotelkey.com http://www.destinia.com -- PHP General Mailing List (http

[PHP] session variables

2004-01-22 Thread Diana Castillo
If you store session variables , but the user has session cookies disabled, is there any way to recuperate those session variables? -- -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 Fax : 00-34-915228673 email: [EMAIL PROTECTED] Web

[PHP] passing session ID

2004-01-22 Thread Diana Castillo
If I want to store a session id in a database, how would I do it , like this? $session_id=SID ; ? and then if I want to retrieve this session id and get all of the info back that goes with this session id, I would say session_start() and then what? thanks -- -- Diana Castillo Global Reservas

[PHP] tourico holidays

2004-01-27 Thread Diana Castillo
Is there anyone out there using XML with php to connect to Tourico Holidays? If so I need your help. thanks. -- -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 Fax : 00-34-915228673 email: [EMAIL PROTECTED] Web : http://www.hotelkey.com

[PHP] amp

2004-01-28 Thread Diana Castillo
is there any function that will always replace a with a amp in a string? -- -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 Fax : 00-34-915228673 email: [EMAIL PROTECTED] Web : http://www.hotelkey.com http://www.destinia.com

[PHP] transactions

2004-01-29 Thread Diana Castillo
Is there anyway to do something similar to Transactions in mysql? -- -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 Fax : 00-34-915228673 email: [EMAIL PROTECTED] Web : http://www.hotelkey.com http://www.destinia.com -- PHP

[PHP] tourico

2004-01-30 Thread Diana Castillo
Does anyone have any experience connecting with the new Tourico Holidays system via xml with php? I need help if so. -- Diana Castillo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] xml posts

2004-02-04 Thread Diana Castillo
does anyone know why some xml applications that work when sent with active-x objects dont work when I send the xml with php instead? what can I do to make them arrive in the same way as they do when sent with active-x objects? thank you , -- Diana Castillo -- PHP General Mailing List (http

[PHP] explode separate lines

2004-02-04 Thread Diana Castillo
does anyone know how to do an explode where the separator is a linefeed? -- Diana Castillo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] replace ' with

2004-02-11 Thread Diana Castillo
How do I replace all single quotes with double quotes in a string for echoing it with the double quotes? -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 ext 214 Fax : 00-34-915228673 email: [EMAIL PROTECTED] Web : http://www.hotelkey.com

[PHP] optimizing tables

2004-02-16 Thread Diana Castillo
is there a way to optimize individual tables in a php script? -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 ext 214 Fax : 00-34-915228673 email: [EMAIL PROTECTED] Web : http://www.hotelkey.com http://www.destinia.com -- PHP

[PHP] apos;

2004-02-18 Thread Diana Castillo
How do I convert apos; to ' before displaying it in HTML? Thanks, -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 ext 214 Fax : 00-34-915228673 email: [EMAIL PROTECTED] Web : http://www.hotelkey.com http://www.destinia.com -- PHP

[PHP] reorder array

2004-03-02 Thread Diana Castillo
( [price] = 187.08 [seqnum] = 1 [roomdesc] = Standard ) [2] = Array ( [price] = 187.08 [seqnum] = 1 [roomdesc] = Standard ) ) -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013

[PHP] memo fields

2004-03-04 Thread Diana Castillo
how do I read memo fields with php from a mysql database? -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 ext 214 Fax : 00-34-915228673 email: [EMAIL PROTECTED] Web : http://www.hotelkey.com http://www.destinia.com -- PHP General

[PHP] days of week

2004-03-18 Thread Diana Castillo
does anyone know of any built in php functions that can convert a day of week that is in numeric format , e.g. 1 into a Monday (without knowing which exact date we are talking about) -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 ext 214

  1   2   >