[PHP] [Fwd: curl and certificate]

2004-10-11 Thread Tassos T
hi, i face a problem with curl. i have a certificate file (certificate.cer) and i use the follow code : $ch = curl_init(); $cert = "certificate.cer"; curl_setopt($ch, CURLOPT_URL,$url); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_TIMEOUT, 10); curl_setopt ($ch, CURLOPT_SS

[PHP] run perl script with php

2004-07-22 Thread Tassos T
hello, i faced a small problem i have a perl script but i want to execute that in a php script. unfortunately i cannot convert to php. please advice. regards Tassos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: send mail error

2004-05-25 Thread Tassos T
that. http://www.php.net/ini_set HTH Craig "Tassos T" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] hello, i face a problem with send mail via php. i have a server with ms IIS and i have not access to php.ini how i send a email with php script with auto add the sendmail

[PHP] send mail error

2004-05-20 Thread Tassos T
hello, i face a problem with send mail via php. i have a server with ms IIS and i have not access to php.ini how i send a email with php script with auto add the sendmail_from into php.ini ? PS. i write a php script to send email but i receive the follow error message mail(): "sendmail_from" n

[PHP] Form and php

2004-03-24 Thread Tassos T
Hello, I use a html form and php with global registers off how do I get the names and values from that form? I use $_POST[FIELD NAME]; but I have much more fields. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Take post values

2004-03-17 Thread Tassos T
Hello, I use a simple form and I cannot take the values when I do submit. I use post method. How I take te post values ? Thanks Tassos t -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: DOM XML and php

2004-03-12 Thread Tassos T
. Lucian "Tassos T" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Sory for delay I use sablotron because I take xml data via curl from windows server. I need only a way to transform xml data with xslt and I want to present data to web pages. I think DOMXML provide functio

RE: [PHP] RE: R: [PHP] Get "nice" variables from POST

2004-03-12 Thread Tassos T
Try to use $query = "SELECT * FROM user WHERE user_id = $_POST['user_id']"; -Original Message- From: Mike Mapsnac [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 3:40 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] RE: R: [PHP] Get "nice" variables from POST I try to u

[PHP] Windows and easyphp

2004-03-12 Thread Tassos T
Hi, I use easyphp at windows to make test my php scripts and I face a problem when I use the php function domxml_xmltree() "explode" apache. I configure all extensions whitch required for using DOMXML. Any idea ? Thanks tassos -- PHP General Mailing List (http://www.php.net/) To unsubscrib

RE: [PHP] Re: DOM XML and php

2004-03-12 Thread Tassos T
ion after using extesively both of them), and both are extensions, that you have to install, not something native that comes directly embeded into PHP. Thanks, Lucian COZMA "Tassos T" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thanks I use this code and it wor

RE: [PHP] Re: DOM XML and php

2004-03-11 Thread Tassos T
. xslt_errno($xh); } xslt_free($xh); ?>Lucian COZMA "Lucian Cozma" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > If you really want to use Sablotron (although I tried it I not liked > it as much as DOMXML, gimme a sign, and I'll debug you. > > R

RE: [PHP] Re: DOM XML and php

2004-03-11 Thread Tassos T
ump($dom->dump_mem()); ?> Read the manual in the DOM XML functions section. Regards, Lucian COZMA "Tassos T" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I face a problem. I have a php script and I send a xml request to a server. > After I re

[PHP] DOM XML and php

2004-03-11 Thread Tassos T
Hello, I face a problem. I have a php script and I send a xml request to a server. After I receive xml data but I have this data to an php string variable. How to create a xml dom with out to write a xml file ? I want to use a xslt to tranform that xml data. Any idea ? Thanks tassos -- PHP

Re: [PHP] how to block a user downloading a file?

2003-08-28 Thread Tassos T
fatih olcer wrote: hi, how to block a user downloading a file? eg : when a user enter an address like http://localhost/downloads/testfile.cab i want to forward him to an other address like http://localhost i'm PHP newbie thanks for help. hi, you have to use this code : http://loca

Re: [PHP] Upload files

2003-07-29 Thread Tassos T
hi check the size of file and the post_max_size in phpinfo. you can change the post_max_size in php.ini. Rosen wrote: Hi, I have some problem with uploading files on server with PHP. The upload is ok, but I must set directory permissions with FULL Access - but this is not a good idea :(( Have some

Re: [PHP] PHP Upgrade Problem

2003-07-25 Thread Tassos T
I thing, you must use $s = getenv('SCRIPT_URL'); and not $s = getenv('SCRIPT_NAME'); in php ver 4.3.2 Shaun wrote: Hi, The following code snippet is supposed to return the current page i am on and append some variables. $s = getenv('SCRIPT_NAME'); $link = "$s?month=$month&year=$year&goto_da

[PHP] session problems in php 4.3.2

2003-07-10 Thread Tassos T
Hello, I have a problem with php 4.3.2. I have a php code and i used sessions, that code works properly in php 4.3.0 and now after upgrade php to 4.3.2 version not work. Any ideas about this. thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

[PHP] track_vars in apache httpd.conf

2003-07-04 Thread Tassos T
hello, I faced a problem with apache httpd.conf. I have a virtual host and i write in httpd.conf that lines : php_value track_vars "Off" but not working please advise. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php