'master values'
I canno't change the value in php.ini because on MacOS X, there wans't a
file php.ini
So I've made a personal function to change code on fly but it isn
t;.chr(13).chr(10);
$message.="Content-Transfert-Encoding: 8bit".chr(13).chr(10);
$message.=chr(13).chr(10);
$message.=$msg.chr(13).chr(10);
$message.=".".chr(13).chr(10);
$message.="QUIT".chr(13).chr(10);
$fd=fsockopen($ip_serveur,25);
fputs($fd,$message,strlen($message)
acOs X.1.3 with PHP 4.1.2.
Thanks for your answer.
Best regards,
Philippe B.
http://www.allovac.com
France
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;It is a change in this new version ? Do I make a change in my program ?
>
>I'm working on MacOs X.1.3 with PHP 4.1.2.
Philippe B.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
My file end in .cgi, it's in 777
It isn't handled by Apache because it don't work if I don't put
#!/usr/local/bin/php
It's in cgi-bin directory, and yes others cgi languages work well (I've
already tested perl)
Philippe
Curt A. Gilman writes:
> Phili
Hi,
A small update, the file is in 755
(otherwise Suexec don't let the script work)
Philippe
Philippe writes:
> Hi,
> My file end in .cgi, it's in 777
> It isn't handled by Apache because it don't work if I don't put
> #!/usr/local/bin/php
> It
--
#!/usr/local/bin/php
Hello World
Does someone know the problem and the solution ?
Have I forgotten something ?
I think that's a misconfiguration in PHP
Thanks for your help
Philippe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
ee these lines
[Sun Oct 21 17:30:10 2001] [error] (8)Exec format error: exec of
/home/webbourse/cgi-bin/php.cphp failed
[Sun Oct 21 17:30:10 2001] [error] [client 212.103.7.98] Premature end of
script headers: /home/webbourse/cgi-bin/php.cphp
Someone has an idea
Thanks
Philippe
Stef
Hi,
Yes I have used --enable-discard-path, the script work with
#!/usr/local/bin/php
I'll give the full configuration later
Philippe
Stefan Siefert writes:
> Hi,
>
> well I do understand your needing.
>
> First a question. What are your compile options, e.g.
Hi,
You're right Dave
But nobody had already used PHP with CGI and with Apache ???
I searched on the net, but I've found no documentation on this problem
Bye
Philippe
Dave Goodrich writes:
> Nope it fails when he removes the line. It fails on me as well, I tried
> it.
(like PHP, Perl, Python,
or other script parser) with a file parameter, showing the result in a HTML
viewer. The Zip file has PHP4 enclosed. "
Regards,
Philippe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nderstood your problem. Hope it will help you !
Regards,
Philippe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ncerning your first question (burning a php application on a cd), you
would also look at
http://www.webmasterworld.com/forum13/1760.htm
Philippe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
");
fputs($fp, "Content-length: ".strlen($data_to_send)."\n");
fputs($fp, "Connection: close\n\n");
fputs($fp, $data_to_send);
while(!feof($fp)) {
echo fgets($fp, 128);
}
fclose($fp);
}
with $data_to_send = "formfield1=myfieldvalue1&formfield2=my
ing(E_NONE) (or a file log) on the production one.
Best regards,
Philippe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e a look at http://www.php.net/manual/en/function.header.php.
>From online help : "Remember that header() must be called before any actual
output is sent, either by normal HTML tags, blank lines in a file, or from
PHP"
So you would test your variable $i BEFORE the tag.
Regards,
Phil
27;m safe.
Am I wrong or do you think it could be ok?
Regards,
Philippe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Jacob Copsey" <[EMAIL PROTECTED]> a écrit dans le message news:
[EMAIL PROTECTED]
> This should work as long as you are only including your include files from
> scripts named index.php.
Yes, of course. I have only one *real* page beginning with and ending
with , called index.php, and depending
> I've been asked to write code that will dynamically generate Microsoft
> Powerpoint presentations. It has to assemble collections of pages, and
> possibly substitute a word or phrase here and there (mailmerge style).
>
> There doesn't seem to be a published document describing Powerpoint file
>
, etc. See
http://www.php.net/manual/en/ref.oci8.php)
--with-oracle is older, and only for oracle 7. this is for php ora*
functions (ora_logon, etc.). IMHO, you can forget them.
Regards,
Philippe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
you have
to use the 'oci8' extension, to let adodb use the php ocilogon functions and
friends.
So, try :
$conn =& ADONewConnection('oci8');
note : you would also have to compile php with --oci, and the oracle client
is also needed.
Regards,
Philippe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If I understood correctly, the first time start_session is used, the server
will send both a cookie AND rewrite the links in the page with the sessionid
appended to it. This seems logical since at the first call for a session the
server can not know whether the browser will accept cookies or not. H
ot; will be automatically registered when
you write $_SESSION["Item"] = $retrived_itemno;
And, be careful for the typo : it is $_SESSION["Item"] and not
$SESSION[Item] (notice the _ and the "").
Regards,
Philippe
A tip : display what is in your session with this code :
e
> Warning: Unable to load dynamic library 'C:\PHP\extensions/php_oci8.dll' -
there are slashes and backslashes in the string
'C:\PHP\extensions/php_oci8.dll'. it looks odd.
May be you would have a look to include_path and extension_dir in php.ini ?
Regards,
Philippe
> I've been writing PHP scripts for a long time but never needed to get data
> from an Oracle database. Till now.
- First, you need php compile with --oci
- Then, you have to install the "oracle client".
Note : you can't find the "oracle client" alone. you need to download the
entire oracle (500M
);
}
with $data_to_send = "formfield1=myfieldvalue1&formfield2=myfieldvalue2";
Regards,
Philippe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(Host = 21.1.1.45)
(Port = 1526)
)
)
(CONNECT_DATA = (SID = ORCL)
)
)
... then your $tns argument will be "sa_tcp32".
If you don't set several variables with putenv, you may encounter some
problems with this third argument. Then you can replace its
ful. But I agree
that other uses of javascript, in most of the cases, can be avoided.
Regards,
Philippe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a question concerning security of my file upload script. I'm using
the php upload routines (move_uploaded_file,...) and variables ($_FILES) to
upload images to a webdirectory. Everything works fine, meaning that I can
upload images BUT only if I change the permission of the directory to whic
PHP has to be compiled with the oci8 support (built-in module). The oracle
extension is the "old one", the newest is oci8.
Regards,
Philippe
"Gkin" <[EMAIL PROTECTED]> a écrit dans le message news:
[EMAIL PROTECTED]
> I get "undefined function" when I u
now, I also use UltraEdit and HTMLKit (php code is more readable). Now, I
use Ultradev to see the html design of a php page, which can't be done with
these others editors.
Regards,
Philippe
"Dr. Shim" <[EMAIL PROTECTED]> a écrit dans le message news:
[EMAIL PROTECTED]
> Wou
Have you stop / start your server ?
or may be there are some dependencies needed? try to if a DLL is missing,
using http://www.dependencywalker.com/
Regards,
Philippe
"Dharmesh Goradia" <[EMAIL PROTECTED]> a écrit dans le message
news: [EMAIL PROTECTED]
> Hi,
>I
UltraEdit for the php
code.
Regards,
Philippe
"::: Rober2 :::" <[EMAIL PROTECTED]> a écrit dans le message news:
[EMAIL PROTECTED]
> Hey!
>
> Does anybody use UltraDev for PHP?
> Any comments about it?
>
> (Personally I go for Visual PHP Studio)
>
&g
You would have a look to setlocale and strftime.
Example, to have a French date :
setlocale (LC_TIME, "fr");
echo strftime("%e %B"); // gives 15 avril
Regards,
Philippe
"Declan Kenny" <[EMAIL PROTECTED]> a écrit dans le message news:
[EMAIL PROTECTED]
You would copy php_domxml.dll (found in php\extensions) to win\system32, or
modify extension_dir in php.ini, AND uncomment the line
extension=php_domxml.dll in php.ini.
Regards,
Philippe
"Olexandr Vynnychenko" <[EMAIL PROTECTED]> a écrit dans le message news:
[EMAIL PROTECTED]
Phil Davis has developed HTML_graphs : it draws various html base charts.
See his website at http://www.webguys.com/pdavis/programs/html_graphs/
Philippe
"Mirek Novak" <[EMAIL PROTECTED]> a écrit dans le message news:
[EMAIL PROTECTED]
> Try this http://www.aditus.
so this error this the value 4.
Once again, it worked very welle before.
What is the problem?
Thanks for helping!
Philippe Allart.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
is your web server a Microsoft one (IIS, PWS, ...) ?
I'm not sure, but I think there is a known problem with them if you set a
session variable and do a redirect in the same page.
Can anyone confirm this ?
Philippe
"Karina Gómez Salgado" <[EMAIL PROTECTED]> a écrit dans le
I understand that the headers_sent() function will tell me whether headers
have been sent or not.
What I do not understand is what triggers the headers to be sent to the
browser in the first place.
Does this happen as soon as the first output occurs?
, because then
you can easily plug in new base functionality.
Is it standard OO practice or PHP specific ? (lack of multiple
inheritance for instance (pun intended somewhat))
Thanks
Philippe (new to this group)
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Hi all,
I running two php web page...therefore the page name has the ".php" on the
end.
The first page contains a form with a submit button at the botton. That
submit button actions the second ".php" page.
When I use my firefox browser everything works fine.
When I use Internet Explorer, the
Hi all,
I'm having a little problem with the interaction between php and IE.
I have two ".php" pages.
The first contains a form with the standard submit button. However when I
come to push the button, I get a "ding" sound (standard error sound) and it
seems like the button is deactivated. H
Hey,
yeah I do have form tags. They are the following:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Acutally, I have just resolved my problem.
I was using method="get" in my form (which contains at least a hundred
values to be passed back). This overloaded the address length and therefore
could not and would not action the second page.
I switch to method="post" in my form (which does not p
Hi all,
I would like to find a way to get my computers LAN IP address through PHP.
I tried using the gethostbyname("HOSTNAME") function, however I only got
back the 127.0.0.1 address.
Any help is always appreciated
Cheers
Phil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Yes, I would hard code my IP address but when the computer crashs the server
assigns it a different IP address, so I have to make my code a tad more
dynamic...
I havn't touched Java in a while, would you know the function for that?
Thanks again
I think you want to get the internal IP adress w
Greetings,
When I do an ifconfig in unix, I see the the IP address for the my ethernet.
It follows something called inet.
Would anyone know who to manipulate the socket functions to be able to
extract the inet IP address fromt the eth0 section??
Cheers
Phil
--
PHP General Mailing List (ht
WOW...so much simpler..thank you very much!!
Cheers
Phil
style='FONT-SIZE:11px;FONT-FAMILY:tahoma,sans-serif'>size=1>
From: Burhan Khalid <[EMAIL PROTECTED]>To: Philippe
Reynolds <[EMAIL PROTECTED]>CC:
php-general@lists.php.netSubject: Re: [PHP] Socket
functio
Greetings all,
I am trying to find a function or a way to parse a date that has the
following format 2005124 or 20051204.
When I have a date that has a single digit (ie month, day) all the date/time
function seem to go bizarre.
When it is a full 8 digit string everything is fine.
When ther
Much appreciated all,
I was kindda hopping that I missed something, some mysterious function...
My solution to this is: if a value like 2005416 to ignore it and only look
for 2005/4/16 or 20050416.
Cheers
Phil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
Good day all,
I have a problem for you all..
I have a form that has has the ability to delete a lot of information from
my MySQL database.
I would like to create a bit of security, in case the user hits the button
by accident.
I would like to create an additionnal window that would appear th
Greetings all,
Currently I have a form that has two lists that contain .
I use javacript to dynamically move options from one select list to another.
All this works fine...
this is the :
LT680
LT685
LT690
LT695
LT700
LT705
Now I wish to "post" all the options from one list to anothe
Awesome...that solved it!!
Thanks a bunch to everyone who contributed!!
Cheers
Phil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
es which are in the same workgroup for political reason (We
can't imagine making them in PHP ...). If the first solution exist
(making a SSO for all PHP apps), is a second solution for PHP/JAVA SSO
could be imagined?
Many thanks in advance.
(o_ BENARD Jean-Philippe - Consultant
a good
choice for a professional use.
Cordialement,
Jean-Philippe BENARD
Consultant STERIA Infogérance
([EMAIL PROTECTED])
-Message d'origine-
De : Ruessel, Jan [mailto:[EMAIL PROTECTED]
Envoyé : lundi 22 septembre 2003 11:00
À : [EMAIL PROTECTED]
Objet : RE: [PHP] PHP Editor - which to u
hp/bin/php /tmp/toto.php >/dev/null &");
Cordialement,
Jean-Philippe BENARD
Consultant STERIA Infogérance
([EMAIL PROTECTED])
-Message d'origine-
De : Victor Spång Arthursson [mailto:[EMAIL PROTECTED]
Envoyé : lundi 22 septembre 2003 14:16
À : [EMAIL PROTECTED]
Objet : [PHP] Star
:
(xxx_cl_app.php)
function ExecuteQuery(x,y) {
$tmpResult = [herited_class]->ExecuteQuery(x,y);
return array($tmpResult[1], $tmpResult[0]);
}
Thanks in advance !
(o_ BENARD Jean-Philippe - Consultant STERIA Infogérance
(o_ (o_ //\ RENAULT DTSI/ODPS/[EMAIL
Hi !
It's possible to export data to excel (csv, xml, PEAR excel file
writing, ...) but is it possible to import data from excel ? (i.e.: I
want to get the data which is in Cell "A1" of sheet "Toto" in the posted
.xls file).
Thanks in advance.
(
I know exporting xls file to csv (or other tagged export) is not very
difficult but in order to make a « all-users » application we must
accept xls files.
Cordialement,
Jean-Philippe BENARD
Consultant STERIA Infogérance
([EMAIL PROTECTED])
-Message d'origine-
De : Kevin Bruce [m
function setDefaultAttributes() {
$this->set = true;
$this->attributes =
ArcaAttributes::ATT_DEFAULT_PERSON_ATTRIBUTES;
}
function is_set() {
if ($this->set === true)
return true;
else
Hi,
With Oracle I'm sure the answer is "YES". Once compiled, PHP needs
Oracle libs in order to use OCI. I don't know exactly which libs but I think
there's somewhere a list of all needed libs which you could copy on your web
server.
Cordialement,
Jean-Philippe
Hi,
I don't find anything about PHP module/integration for netscape
webserver. Does somebody has done it or know where I can found interesting
articles? (how to compile PHP, how to make a module, ...).
Many thanks in advance.
(o_ BENARD Jean-Philippe - Consultant S
Hi,
Now GD doesn't support GIF file format, how can I use imageXXX
functions in order to resize/transform/... GIF files?
Are there any tools transforming GIF to JPG/PNG/..?
Thks in advance.
(o_ BENARD Jean-Philippe - Consultant STERIA Infogérance
(o_
>>> Fatal error: Call to undefined function: imagecreatefromgif() in ...
New GD version doen't include "imagecreatefromgif" api because of gif patent
...
Cordialement,
Jean-Philippe BENARD
Consultant STERIA Infogérance
([EMAIL PROTECTED])
-Message d'origine-
64 matches
Mail list logo