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?
Greetings all,
Currently I have a form that has two lists that contain options.
I use javacript to dynamically move options from one select list to another.
All this works fine...
this is the select:
select name=trucklist size=12 style=width: 150px multiple
option value=LT680LT680/option
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
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
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
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:
;/ibrTo: iPhilippe
Reynolds lt;[EMAIL PROTECTED]gt;/ibrCC:
iphp-general@lists.php.net/ibrSubject: iRe: [PHP] Socket
functions/ibrDate: iTue, 30 Aug 2005 09:49:22
+0300/ibrgt;Philippe Reynolds
wrote:brgt;gt;Greetings,brgt;gt;brgt;gt;When I do an ifconfig in
unix, I see the the IP address
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
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
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.
Hey,
yeah I do have form tags. They are the following:
form name=NAME method=GET action=Secondpage.php
input...
/form
--
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 pass
, 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,
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_ (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-
De : Marek Kilimajer [mailto
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 STERIA
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 BENARD
Consultant STERIA
;
}
function is_set() {
if ($this-set === true)
return true;
else
return false;
}
}
(o_ BENARD Jean-Philippe - Consultant STERIA Infogérance
(o_ (o_ //\ RENAULT DTSI/ODPS/[EMAIL
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
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.
(o_ BENARD Jean-Philippe
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 [mailto
);
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] Start php-script with exec()?
Is it possible?
I have a file
= [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 PROTECTED] * ALO * API : MLB 02C 1 14
(/)_ (\)_ V_/_ 2 Av du vieil étang * 78181
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 use?
well, i like to use
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 STERIA Infogérance
(o_ (o_
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.
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
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
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
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 html and ending
with /html, called index.php, and
be ok?
Regards,
Philippe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
) on the production one.
Best regards,
Philippe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/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 html tag.
Regards,
Philippe
--
PHP General Mailing List (http
']
Regards,
Philippe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
(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
;
Regards,
Philippe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
--
PHP General Mailing
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 (500Mb !!)
$_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 :
echo 'pre';
print_r($_SESSION);
echo '/pre';
Chris [EMAIL PROTECTED] a écrit dans le
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
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
speed.
Any suggestions ??
best regards.
Philippe BARRIELLE
Sce Informatique
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 name by its
entire definition.
Hope it will help you !
Regards,
Philippe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
,strlen($message));
fclose($fd);
Thanks for your response,
Best regards.
Philippe BARRIELLE
Sce Informatique
---
* S.A. Editions et Publicites - ABRITEL *
109, La Canebière
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]
Hi all,
Is it possible to get dates
.
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
?
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
or 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)
--
PHP General Mailing List (http://www.php.net
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'm having trouble
. But
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]
Would this happen to be the one
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 use PHP/Oracle-functions like
ociconnect
.
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 administrators, e-mail: [EMAIL
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.nu/jpgraph/
M.N
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. your configure call?
Do you
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. Also note I did say
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
Stefan Siefert writes:
Hi
/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]
For additional
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:
Philippe,
Does the file name end
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's in cgi-bin directory, and yes others cgi
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]
Hello Augusto
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 message news:
[EMAIL
64 matches
Mail list logo