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

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

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

[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

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

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] 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] 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] 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 (http://www

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

[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. "obese bob", "age" => "20") // ); $urlencoded = ""; while (list($key,$value) = each($vars)) $urlencoded.= urlencode($key) . "=" . urlencode($value) .

[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? set_port("8080"); # #Set the filename of the URI you wish topost to. see also set_action() #ie. # # set_action(string ACTION) #Returns true on success. #$a->set_action("http://www.someh

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

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

[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] 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] 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: http://www.php.net/uns

[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: http://www.php.net/uns

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

[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

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

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

[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

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

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

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

[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

Re: [PHP] export data to text file

2002-09-28 Thread Diana Castillo
okay, how can I write a file in csv format either to the browser or to the server? If I use the Mysqladmin page I get all the fields, I just want some of them. Diana -- See my web page: http://www.netrox.net/%7Ecastillo/ "Todd Pasley" <[EMAIL PROTECTED]> escribió en el mensaje

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

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

[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] 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 File to Upload: upload file: Warning: Unable to create 'hgh6.g

[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] 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://www.archipro.com/test.php?state=AB&state=BC If I use $state, I get only the last one. -- PHP General Mailing List (http://www.php.net/) To un

[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://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

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

[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

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

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

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

  1   2   >