[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] 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] 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] 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] 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] 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] 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

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] 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

[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] 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] 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] $_REQUEST

2004-11-15 Thread Diana Castillo
there seems to be a limit to how many form variables I can get wtih a $_REQUEST. does anyone know how to get an large amount of variables? -- 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

[PHP] alphabetic comparison

2004-09-30 Thread Diana Castillo
Is there any way you can use the numerical comparisons or to see if one word comes first alphabetically to another ? what can I use to see if oranges comes after or before apples alphabetically for instance. -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain

[PHP] mailing to hotmail

2004-09-24 Thread Diana Castillo
for some reasons my mails I send to hotmail are never arriving, (using mail($email,$subject_line,$msg,$headers);) anyone ever heard of 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

[PHP] need curl

2004-09-14 Thread Diana Castillo
I need the latest version of curl , or at least version 7.10.5 , but the last version of php I have has libcurl 7.10.2, how can I upgrade CURL without upgrading php ? (Version 5.0 of php doesnt work) -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00

[PHP] Re: need curl

2004-09-14 Thread Diana Castillo
I have windows 2000. And the reason I need that version of CURL to work is I need to use this: curl_setopt($curl_interface, CURLOPT_ENCODING, gzip); Manuel Lemos [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, On 09/14/2004 11:46 AM, Diana Castillo wrote: I need

[PHP] replace accents

2004-09-14 Thread Diana Castillo
Anyone know of any function to replace letters with accents with just the regular letter, for instance replace á with a, ç with c, ñ with n ? -- Diana Castillo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] make an image disappear when page loads

2004-07-05 Thread Diana Castillo
does anyone know how I can put an image on a page that disappears when the data that I wanted to get has loaded? -- 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

[PHP] Re: make an image disappear when page loads

2004-07-05 Thread Diana Castillo
PROTECTED] wrote in message news:20040705161311.8570.qmail@ pb1.pair.com... You say has loaded, do you mean dynamic without submitting? If so, the answer is dhtml, fx JavaScript. /egil Diana Castillo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] does anyone know how I can put

[PHP] AccommodationNamelt;![CDATA[HOTEL AC MALAGA PALACIO]]gt;/AccommodationName

2004-06-09 Thread Diana Castillo
anyone know why my parser is not reading just the internal part of this tag? Is the cdata in the correct format? AccommodationNamelt;![CDATA[HOTEL AC MALAGA PALACIO]]gt;/AccommodationName -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039

[PHP] count number of occurences of character in a string

2004-06-08 Thread Diana Castillo
what function can I use to count the number of occurences of a certain character 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

[PHP] #209;

2004-05-07 Thread Diana Castillo
we are recieving Ñ as #209; ¿what type of code is that? Is there a function in php to convert it? -- 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] remove soap header

2004-05-05 Thread Diana Castillo
Any ideas how to remove the soap header from the xml response? -- 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

[PHP] how can I get the id of the last record I inserted into a table with an insert query?

2004-03-29 Thread Diana Castillo
how can I get the id of the last record I inserted into a table with an insert query? (into 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

[PHP] string to float

2004-03-23 Thread Diana Castillo
How do I change a string to a float, when the string may be in this format : 4,999.90 , or this format: 4999,90 (european style) -- 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

[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

[PHP] numeric to day name in various languaes

2004-03-18 Thread Diana Castillo
, Dimanche; break; -- 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 Mailing List (http://www.php.net

Re: [PHP] days of week

2004-03-18 Thread Diana Castillo
yes but I want it in various languages. Richard Davey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello Diana, Thursday, March 18, 2004, 11:38:55 AM, you wrote: DC does anyone know of any built in php functions that can convert a day of DC week that is in numeric format , e.g.

Re: Re[2]: [PHP] days of week

2004-03-18 Thread Diana Castillo
I didnt want to hard code the names , so we made this up: function getDayName($day, $lang=''){ if ($locale = Language::getLocale($lang)) { setlocale(LC_TIME, $locale); } $sunday = strtotime('1 January 1995'); // That day was a Sunday return strftime(%A,

[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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] _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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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

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] 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

[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] 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] 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] 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] 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] 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] 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] @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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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

  1   2   >