[PHP] MySQL+PHP

2010-07-21 Thread Diana Wu
;SELECT FOUND_ROWS()"; How can I change this if I want to put table2 in it. Thank you. Best wishes, diana 2010-7-21

[PHP] cant send mail

2007-10-26 Thread Diana
The problem is I am the mail server administrator also. This is a small company of 4 . -- Diana Castillo Tsanalytics S.A. Tel: 34 913 595 436 Fax: 34 913 595 439 Mov: 34 609 954 536 [EMAIL PROTECTED] www.tsanalytics.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] SMTP

2007-10-25 Thread Diana
I dont know what I did but now I get this message Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" -- Diana Castillo Tsanalytics S.A. Tel: 34 913 595 436 Fax: 34 913 595 439 Mov: 34 609 954 536 [EMAIL PROTECTED] www.tsanalytics.com -- PHP Genera

[PHP] how to restart php

2007-10-25 Thread Diana
How can I restart php so it takes changes in my php.ini without having to reboot my machine? I have windows XP -- Diana Castillo Tsanalytics S.A. Tel: 34 913 595 436 Fax: 34 913 595 439 Mov: 34 609 954 536 [EMAIL PROTECTED] www.tsanalytics.com -- PHP General Mailing List (http://www.php.net

[PHP] SMTP unable to relay

2007-10-25 Thread Diana
I have tried settiing my php.ini to SMTP = localhost as well as using the SMTP of my regular mail, and I keep on getting this. Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for [EMAIL PROTECTED] in C:\Inetpub\wwwroot\intranet\test.php on line 11 -- Diana

[PHP] cant send mail

2007-10-25 Thread Diana
Using windows XP, when I try to send mail using 4 parameters, I get this : Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for [EMAIL PROTECTED] in C:\Inetpub\wwwroot\intranet\test.php on line 9 -- Diana Castillo Tsanalytics S.A. Tel: 34 913 595 436 Fax: 34

[PHP] mail from

2007-10-25 Thread Diana
ot; header missing in C:\Inetpub\wwwroot\intranet\test.php on line 4 -- Diana Castillo Tsanalytics S.A. Tel: 34 913 595 436 Fax: 34 913 595 439 Mov: 34 609 954 536 [EMAIL PROTECTED] www.tsanalytics.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Fw: [PHP] cant mail

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

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 says

[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 C:\Inet

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

[PHP] help with ming library

2007-08-10 Thread Diana
How do I install the ming library on windows?? I copied the php_ming.dll that I had on another computer and enabled this line in php.ini extension=php_ming.dll but I still get that error Call to undefined function Ming_setScale() -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[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
wwwroot\usr\local\global\php\online\SOAP\Client.php [line] => 153 [function] => getportname [class] => soap_wsdl [type] => -> [args] => Array ( [0] => readpackageabstract ) ) [5] => Array ( [file] => c:\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 -- P

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

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 : >> ®® >> mA® &

[PHP] getting text with strange encodng

2005-03-17 Thread Diana Castillo
Does anyone know what kind of string encoding this is : ®® mA® 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 http

[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

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

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

[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: make an image disappear when page loads

2004-07-05 Thread Diana Castillo
ntsen" <[EMAIL 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]&g

[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] <![CDATA[HOTEL AC MALAGA PALACIO]]>

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? <![CDATA[HOTEL AC MALAGA PALACIO]]> -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 Fax : 00-34-915228673 email:

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

2004-05-07 Thread Diana Castillo
we are recieving Ñ as Ñ ¿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

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

2004-03-18 Thread Diana Castillo
return strftime("%A", $sunday+(3600*24*$day)); } "Richard Davey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello Diana, > > Thursday, March 18, 2004, 12:00:55 PM, you wrote: > > DC> yes but I want it in various languages. >

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 da

[PHP] numeric to day name in various languaes

2004-03-18 Thread Diana Castillo
quot;; break; case "6": $restriction_day = "Saturday, Sabado, Samedi"; break; case "7": $restriction_day = "Sunday, Domingo, Dimanche"; break; -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039

[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] 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
[1] => Array ( [price] => 187.08 [seqnum] => 1 [roomdesc] => Standard ) [2] => Array ( [price] => 187.08 [seqnum] => 1 [roomdesc] => Standard ) ) -- Diana Castillo Globa

[PHP] '

2004-02-18 Thread Diana Castillo
How do I convert ' 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.co

[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] 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] 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] 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-general@lists.php.net

2004-01-28 Thread Diana Castillo
is there any function that will always replace a "&" with a "&" 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

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

[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] 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] _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] 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.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 (http

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

[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] Red Hat 9, Apache 2, and PHP

2003-07-04 Thread Diana
itself, since if something ever happens it is less hassle to do a complete new install & get the database back on. Any hints? Thanks Diana --- Rasmus Lerdorf <[EMAIL PROTECTED]> schrieb: > Apache2 has a number of different modes it can work > in. These modes are > called MP

[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? > ho

[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

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

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

[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 c:\inetpub\wwwroo

[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" <[EM

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

Re: [PHP] Re: mail() function & exchange

2003-06-12 Thread Diana
Hi, my company set their server up not to talk SMTP (disabled all --> that guy told me), and my tries to connect or talk to any of their Exchange servers failed :( so he must be true. Got onto their NT servers though ;) All the company uses Outlook & Exchange, & they use mapi to talk to each other.

Re: [PHP] Re: mail() function & exchange

2003-06-12 Thread Diana
e them! Thanks :) Diana --- Manuel Lemos <[EMAIL PROTECTED]> schrieb: > Hello, > > On 06/11/2003 05:38 PM, Diana wrote: > > Hi, > > just today I stumbled into the same problem. It is > > true, I got this answer from an expert: > > > "Unfortunately th

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 P

[PHP] array

2003-06-12 Thread Diana Castillo
If I write a code like this, $room_type=array(); $room_type[0][0]=4; echo "value 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] Re: mail() function & exchange

2003-06-11 Thread Diana
Hi, just today I stumbled into the same problem. It is true, I got this answer from an expert: "Unfortunately this will not work. SMTP relaying is disabled on all the Exchange connector servers and a standard Exchange mailbox server does not support SMTP. The only way that you can send SMTP em

[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

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

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

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

[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

Re: [PHP] @getimagesize

2003-04-03 Thread Diana Castillo
heck if file exists 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

[PHP] @getimagesize

2003-04-03 Thread Diana Castillo
create stream: HTTP request failed! HTTP/1.1 404 Not Found at c:\inetpub\wwwroot\web\site\ReservationManager.php line 190. I am using PHP Version 4.3.1 Thank you , Diana

[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] 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] 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 line 1 line2 line3 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 it to ignore the line fee

[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.ph

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:

[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

[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

  1   2   >