I have a compiled C CGI that accepts POST method calls, reading
information off of stdin, and returning its results to stdout.
I need to be able to invoke this from a PHP module, with the PHP module
loading the POST data for the CGI to fetch, and be able to collect the
output that the CGI returns
Hi,
Been trying to compile PHP.4.0.6 with --with-zlib directive and failing.
Using --with-zlib-dir, however succeeds.
Does anyone knows the difference between the two ?
Also, in a related problem, if I try with --enable-xslt I get the
following results:
checking for XML support... yes
checking
Hi,
as suggested by some of you, I've tried to install PHP on win32 version of
Apache (W2K workstation).The reason I wanted to test my website under
Windows, is because I develop them on Dreamweaver and UltraDev, using
Textpad extensively. In that way I don't have switch files between both
boxes
You mean something like this:
http://www.newbienetwork.net/phpcodems.php?as=viewcode&id=14
Jason Lotito
www.NewbieNetwork.net
PHP Newsletter: http://www.newbienetwork.net/ciao.php
PHP, MySQL, PostgreSQL Tutorials, Code Snippets, and so much more
> -Original Message-
> From: Tyler Longre
> bash-2.04# gdb /usr/local/apache/bin/httpd
> (gdb) run -X
> Starting program: /usr/local/apache/bin/httpd -X
> warning: Unable to find dynamic linker breakpoint function.
> GDB will be unable to debug shared library initializers
> and track explicitly loaded dynamic code.
>
> Program received s
Michael Roark <[EMAIL PROTECTED]> wrote:
> Does anyone know of the existance of an irc bot written in php or
> otherwise, which will talk to a mysql database?
have seen something called php-egg, which you can look at here:
http://kill-9.dk/php_egg/
--
Henrik Hansen
--
PHP General Mailin
"ReDucTor" <[EMAIL PROTECTED]> wrote:
> 1. ( ) text/plain (*) text/html
>
> Hey Dudes, little off the PHP Subject, but Linux I have "RedHat 7.1" CD Here, and i
>want to dual boot it with my WinXP i
> don't want to repartition my HDD, i would prefer to have a File on my
The following code fragment works properly, in that I get the output I'm
expecting. However, if I don't disable error messages with @, I get an
error message from PHP saying: "Warning: Supplied argument is not a valid
MySQL result resource in /var/www/htdocs/cgcm/test2.php on line 9."
How can the
im a textpad fan. (for windows)
http://textpad.com/
it supports custom syntax hilighting,
line numbers, and a ton of other features
that i use :)
> > -Original Message-
> > From: Tyler Longren [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, June 26, 2001 10:26 AM
> > To: [EMAIL P
with MySQL, TEXT is for text and BLOB is for binary data.
typemax. storage size
TINYBLOB, TINYTEXT 2^8
BLOB, TEXT 2^16
MEDIUMBLOB, MEDIUMTEXT 2^24
LONGBLOB, LONGTEXT 2^32
> -Original Message-
> From: infoz [mailto:[E
I am having problem getting the info back after I send it to a
function. What I what to do is send the value $line two the function
process it then return it with all the proper data in place . This
function will process about 13 lines names $line1 through $line13 and
when they return fr
Hi, actually I'm developing a electronic store and I'm integrating VPos to
the store application. I'm Using CURL in order to comunicate to Vpos. Is it
the only way or there are another one?
The Vpos aplication resides on other server and I have to comunicate with it
via SSL.
Thanx.
===
try 'cat /proc/uptime' logged in as the
webserver user and see what you get
(or try it thru a PHP script)
> -Original Message-
> From: infoz [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 26, 2001 9:56 AM
> To: Peter Phillips; [EMAIL PROTECTED]
> Subject: Re: [PHP] PHP Uptime er
I have PHP 4.04pl1 set up on a IIS 5 server on Windows 2k. However, it keeps
on crashing the server -- not all the time, but sometimes it does, sometimes
it doesn't. And I have no idea whatsoever what is causing it. I *think* that
it has to do with my include()s. I end up including all my function
That code will work for the Oracle 8.0 but for Oracle 8i you'll want to use
the OCI funcitons
http://www.php.net/manual/en/ref.oci8.php
Using OCI is a little easier to understand then the ORA function (IMO).
You'll need to compile PHP with the --with-oci8 switch, and you'll need the
Oracle clien
Hello all!
Here is an interesting problem that I can not solve, maybe one of you know??
Here is what I'm trying to do. I sell a lot of items on eBay, and lots of
people ask me for a quote on shipping. We ship via UPS and I go to their
site a lot to lookup rates. I decided to make my own web page t
On Tue, 26 Jun 2001, Boaz Yahav wrote:
> I'm trying to create a receipt in a PDF format. I have the receipt as HTML.
> Is there any class or module in PHP or other language that can read an
> HTML file and output a PDF file?
I use HTMLDOC. It works well for us here.
http://www.easysw.com/htmldo
Haven't tried it but here's a php bot, which uses mysql :
http://www.sourceforge.net/projects/phpegg/
regards,
philip
On Tue, 26 Jun 2001, Michael Roark wrote:
> Does anyone know of the existance of an irc bot written in php or
> otherwise, which will talk to a mysql database?
>
>
> --
Hi Boaz!
On Tue, 26 Jun 2001, Boaz Yahav wrote:
> Hi
>
> I'm trying to create a receipt in a PDF format. I have the receipt as HTML.
> Is there any class or module in PHP or other language that can read an
> HTML file and output a PDF file?
>
if you intend to do it offline, try html2ps && ps2pd
I am trying to produce buttons with
imagecreatefromjpeg(). the problem i am having is i cant allocate a color
for the text of the betton. it appears i have 2 choices black and
gray. Anyone know why this could be. Code is below
switch($buttontype){case
1: $buttonfile = "images/butto
After getting apache 2 + 4.0.6 built and installed, I can finally use PHP
and all is well..except...
When accessing a script which uses an exec() statment like the following:
snip-
exec("ls -d */*.jpg",$ls);
snip-
When the LS is performed, it is not performed in the directory whe
Hi, I saw that the PHP documents in PDF format are temporary unavailable
at:
http://www.php.net/docs.php
Now, I do have a working Acrobat 4.0 version back home, any interest if I
built the HTML versions to PDF format, or is there something else I don't
know about, i.e. an automated backend for b
give 'htmldoc' a try.
http://www.easysw.com/htmldoc/
~rob
on 6/26/01 7:25 AM, Boaz Yahav at [EMAIL PROTECTED] wrote:
> Hi
>
> I'm trying to create a receipt in a PDF format. I have the receipt as HTML.
> Is there any class or module in PHP or other language that can read an
> HTML file and ou
I used them all over on a large PHP3 (and later PHP4) site for several years
until we migrated to PostgreSQL in January, with no problems.
What's the correct alternative...CLOB's?
- Tim
http://www.phptemplates.org
- Original Message -
From: "Thies C. Arntzen" <[EMAIL PROTECTED]>
> > I
I have a function that is for sending an e-mail to the customer
the messages is stored in a mysql table. Then when the function is
called it pulls the data into the mail program. My problem is this
in the data that is stored in the table the data looks like this
"Your webhosting account at $hostna
I'm trying a simple round in php4 and having problems .. rounding to 2
decimal places..
$BLAH = round($BLAH, 2);
Spits out a wrong parameter error. I've tried quotes around the variable,
the parameter, and any combinations, but it still pukes on me. Why can't I
specify a precision?
Thanks,
Ch
Thies,
Thanks for your reply.
So far I've been unable to further investigate my problem and send to you a
toy script to demonstrate it. For since Monday both applications have been
working fine. Yipee!
They began working again after the server was rebooted - which the
Administrator claimed he h
In article
<[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Tim Ward) wrote:
> are you sure it has not been deleted. If you check to see what's in it and
> it doesn't exist you'll get the answer that it contains a null value (same
> as any other non-exitsant variable).
The message for non-existant val
search
for: linux4win
that's
probably what you're looking for...
you
can install on an existing windows partition
and
have it look like a giant file.
-Original Message-From: ReDucTor
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, June 26, 2001 7:52
AMTo: [EMAIL PROTECTED]Subj
or you could use preg_replace
preg_replace("/\n/", "\n", $var);
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 26, 2001 2:56 AM
> To: Joeri Vankelst
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP] Enter to BR
>
>
> > How
In article <000701c0fe63$51accb30$6401a8c0@gemini>,
[EMAIL PROTECTED] ("Michael Simcich") wrote:
> Odd, I still can't get to it. I'm trying to use "news.php.net", is there
> anything amiss with that server address? I'm using Gravity; and it
> doesn't want a news:// prefix in the address.
I've h
Hi,
Has anybody seen an "ebay-like" auction solution done in PHP?
Thanks,
mto
--
Michael O'Neal
Web Producer/ Autocrosser
ST 28 '89 Civic Si
-
M A N G O
B O U L D E R
-
http://www.thinkmango.com
e- [EMAIL PROTECTED]
p- 303.442.1821
f- 3
- Original Message -
From: "Rich Cavanaugh" <[EMAIL PROTECTED]>
To: "Dave Mariner" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, June 26, 2001 1:53 AM
Subject: RE: [PHP] [OT-ish] Optional Extras.
> Dave,
> I did something similar and I came up with an interesting way of
> appr
Hi Everyone,
I want to thank the response I've gotten for this posts but unfortunately
non of them have helped significantly. I don't know PHP that well so ideas
you give me I can't implement.
If someone could either
A.) Do it for me :-)
B.) Show some examples that directly relate to me
It woul
hi to @ll,
after a make a search throw a form it returns me some results
(links). if i click to a link and i try to get back to the previous results
Internet Explorer shows me a blank page advicing that i should refresh the page
in order to get the results. how can i prevent this blank pag
> -Original Message-
> From: Miles Thompson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 26, 2001 7:42 PM
> To: [EMAIL PROTECTED]; php
> Subject: Re: [PHP] search for a better php source code viewer
>
>
> Windows or Linux? These are editors, not viewers, though.
>
> If Windows - Ul
Hello,
I’m trying to build
PHP4.0.6 with solid 3.51 under RedHat 6.0 and i get :
/bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c zend_ini.c
/bin/sh ../libtool --silent --mode=link
gcc -g -O2 -o libZe
is there a function to get the mime of a given
file? if so what?
Thank You, Jon Yaggiewww.design-monster.com And
they were singing . . . '100 little bugs in the code100 bugs
in the codefix one bug, compile it again101 little bugs in the
code 101 little bugs in the code . . .' And i
On Tue, Jun 26, 2001 at 06:42:00AM -0400, infoz wrote:
>
> If the data will be less than ~4K, use 'varchar2', otherwise use 'long'.
do not use long as long are not fully supported in oracle
(and never were).
tc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
Odd, I still can't get to it. I'm trying to use "news.php.net", is there
anything amiss with that server address? I'm using Gravity; and it
doesn't want a news:// prefix in the address.
Michael Simcich
AccessTools
-Original Message-
From: elias [mailto:[EMAIL PROTECTED]]
Sent: Tuesday,
Windows or Linux? These are editors, not viewers, though.
If Windows - UltraEdit; there are predefined files whihc are used to
colourize PHP & HTML markup. You can add to then and extend them. Possible
HTMLKit as well.
If Linux - Bluefish, I guess, although you'll hear from VIM and Emacs
peop
I need a class that can quickly help me set cookies and sessions, and check
up against them
anyone have an idea where i can get one like this?
- Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> So, people, when using PHP authentication, please use a Linux box!!! The
> windows version doesn't really work (at all).
>
> Brave Cobra
there are lots of reasons for switching to linux, but it's
not necessary to get authentication working properly,
just use a better server.
apache is one tha
NO NO NO NO NO NO NO NO
NEVER use long
varchar2 for < 4k
or clob for longer
does long still exist in oracle9
i thought it is supposed to be left out
( as soon as possible )
to your question at first :
why don't you try to overwrite the php session handling funktions?
serialisation is done
i disagree with the first point. adding extra options
(like an MP3 player) will not "break the table" if you
code the system with knowledge of how the underlying
database is set-up.
a friend of mine setup a catalog system this way.
the catalogs would usually have ~5-10 custom options,
so his
- Original Message -
From: "David Robley" <[EMAIL PROTECTED]>
To: "Dave Mariner" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, June 26, 2001 4:32 AM
Subject: Re: [PHP] [OT-ish] Optional Extras.
> Why not have a table that contains carid and optionlink, where carid is
> the id
Dear All
PHP Gurus.
I have problem with UPDATE query , I am
using PHP on win2k connect to an ODBC connection,
I got
error like this when update the DB.
Warning: SQL error:
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable
query., SQL state S1000 in SQL
> Hello, sorry this question here (it is not true PHP question), but I use
> some variables into PHP scripts and need
> pass these variables from one frame to another.
>
> I want pass variable values between frames, these definded via input
> hidden tags into form definition.
> I have first frame
On Tuesday 26 June 2001 11:24, Brave Cobra wrote:
> So, people, when using PHP authentication, please use a Linux box!!! The
> windows version doesn't really work (at all).
...or the Apache module on NT.
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hi, actually I'm developing a electronic store and I'm integrating VPos to
the store application. I'm Using CURL in order to comunicate to Vpos. Is it
the only way or there are another one?
The Vpos aplication resides on other server and I have to comunicate with it
via SSL.
Thanx.
===
To be more accurate, its IIS on Windows that causes problems.. one of our
test boxes runs windows + apache and doesn't experience this problem
> Tnx,
>
> I've been trying out some stuff last night and found out some interesting
> facts!
> the ISAPI dll is full of access violations. Being a Delphi
This may have just slipped through the cracks, anyone point
me in the right direction or anything?
I’m installing PHP 4.0.5, I have Apache 1.3.20
installed currently and I’m also using a built in module of mod_perl
1.25. Here’s my apache mod
list
[grumster]:12:38pm:/usr/local/ap
I suggest ConTEXT. It's free, and it's for windows.
http://www.fixedsys.com/context
And for Linux, I suggest Nedit.
http://www.nedit.org/
Tyler
- Original Message -
From: "Jorg Krause" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Tuesday, June 26, 2001 4:35 AM
Subject: [PHP]
>I'm a newbie in PHP, what should I do to connect to Oracle Database.
>Do I have to install a library to do that?
>Please anyone, help.
http://www.phpbuilder.com/manual/ref.oracle.php
I usually do something similiar to this.
(psuedo code follows):
// Define Oracle_Home and Oracle_Sid
putenv("O
Hi
Can someone help me out by explaining how I can programatically rename the
key of an associated array? EG Cat01,Cat02 in the example below.
$cats = array(
"Cat01" => array("lv1" => 1, "lv2" => 1, "lv3" => 1, "lv4" => 1, "lv5" =>
1 ),
"Cat02" => array("lv1" => 1, "lv2" => 1, "lv3" => 1, "lv4" =>
On Mon, Jun 25, 2001 at 01:42:18PM -0500, Michael Champagne wrote:
> I'm developing a web application and would like to be able to store the state
> of the application in an Oracle table by serializing a bunch of variables and
> storing them in the database. Has anyone done this? What datatype w
On Mon, Jun 25, 2001 at 04:17:50PM +0300, Rouvas Stathis wrote:
> "Thies C. Arntzen" wrote:
> >
> > On Sun, Jun 24, 2001 at 09:50:05PM +0300, Rouvas Stathis wrote:
> > > "Thies C. Arntzen" wrote:
> > > >
> > > > On Fri, Jun 22, 2001 at 09:16:08PM +0300, Rouvas Stathis wrote:
> > > > > Do you expe
Did you want these all to appear on the same page? If so then that can't be
done.. the nature of HTTP (the method of delivering pages to the browser)
doesn't allow for this sort of thing.. theres nothing PHP can do about that.
The only alternative I can suggest is for the page to refresh/redirect
It sounds like it might be the permissions on /proc itself.
What does 'ls -ld /proc' say?
- Tim
http://www.phptemplates.org
- Original Message -
From: "Peter Phillips" <[EMAIL PROTECTED]>
Subject: Re: [PHP] PHP Uptime error
> Thanks for your help, this is what I get when I try a upt
Does anyone know of the existance of an irc bot written in php or
otherwise, which will talk to a mysql database?
--
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-
Hi
I'm trying to create a receipt in a PDF format. I have the receipt as HTML.
Is there any class or module in PHP or other language that can read an
HTML file and output a PDF file?
thanks
Sincerely
berber
Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.
--
In Oracle, 'long' is a variable-length character data column up to 2GB in
size. Roughly equivalent to 'text' in mysql, I think. You can also use
'blob', 'clob' and/or 'nclob' instead, but I think access to those types is
less straightforward than the 'long' type.
- Tim
http://www.phptemplate
Tim,
Thanks for the response. I'm kind of confused though. You can use a 'long'
type for a string of characters greater than 4k?
Thanks,
Mike
> If the data will be less than ~4K, use 'varchar2', otherwise use 'long'.
>
> - Tim
> http://www.phptemplates.org
>
> - Original Message -
>
I think it works just fine,
maybe you can try:
framea.document.forma.vala.value = frameb.document.formb.valb.value
if this didn't work then change to:
framea.window.document.forma.vala.value =
It worked with me time ago...
"M" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:
I understand you want to run linux from within an image file stored on a
FAT32 file system?! ;)
Please post in txt format next time.
""ReDucTor"" <[EMAIL PROTECTED]> wrote in message
003601c0fe36$7fb4ac50$7100a8c0@reductor">news:003601c0fe36$7fb4ac50$7100a8c0@reductor...
Hey Dudes, little off t
Hey Dudes, little off the PHP Subject, but Linux I
have "RedHat 7.1" CD Here, and i want to dual boot it with my WinXP i don't want
to repartition my HDD, i would prefer to have a File on my hdd that has Linux on
it, my WinXP install is on a FAT32 Partition..
Now how can i do this? :)
Hi,
Commerical Site that has been launched and using PHP.
the website address is www.trade-revenues.com
Mark
--
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
> $subject =$row["msub"]; //"Your webhosting account at
> $hostname.$domain$tld";
> $message .= $row["mline1"]; //"Dear $fullname,\n";
>
> $message .= $row["mline2"];//"Your webhosting account has been
> created. Please use the\n";
> $message .= $row["mline3"];//"following data to log in:\n";
> No
The problem with doing it this way is that it is not extensible.
A manufacturer cannot add, say, MP3 players to the list at a later date
without breaking the car table. Also, in time, there could be quite an
extensive list of features - which would lead to an inefficient storage
system.
Dave
If the data will be less than ~4K, use 'varchar2', otherwise use 'long'.
- Tim
http://www.phptemplates.org
- Original Message -
From: "Michael Champagne" <[EMAIL PROTECTED]>
To: "PHP General Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, June 25, 2001 2:42 PM
Subject: [PHP] Help with
If you d'ont compile as a module, you must copile and install apache again.
>
>> Trying a re-post from yesterday...
>>
>> My setup is as follows:
>>
>> RH Linux 7.0
>> PHP 4.0.5
>> Apache 1.3.20
>>
>> I've either added or uncommented the following lines from httpd.conf:
>>
>> AddType ap
Tnx,
I've been trying out some stuff last night and found out some interesting
facts!
the ISAPI dll is full of access violations. Being a Delphi programmer, I
know that ain't good.
Stable is indeed the word. Sometimes IIS could find a page, most of the time
not.
And I got the header to show :) H
You have multiple choices...
You can make your life easy with a simple javascript like:
file.php
or you can use the meta tag equiv like:
http://server/timeup.php";>
be more specific...you can do lots of stuff actually...
""ewoong"" <[EMAIL PROTECTED]> wrote in message
9h9ild$jps$[EMAIL
Hi,
I'think anybody knows highlight_file, highlight_string
or show_source, but these are not good enough.
For an application I need a more advanced technique,
which includes line numbers and let me control all
formatting instructions (not only ).
Is there any script out, written in PHP (and sup
Hello, sorry this question here (it is not true PHP question), but I use
some variables into PHP scripts and need
pass these variables from one frame to another.
I want pass variable values between frames, these definded via input
hidden tags into form definition.
I have first frame name=framea c
I don't think this is a joke, infact it's good that a PERL site would
feature PHP in sections of their site. PHP borrows much from PERL, this is
why many PERL programmers including myself, began using PHP in the first
place. Not to say that one is better than the other, since they all have
their p
Hi..
If I want to run a function at each intervals, what function I can use ??
I try to display " Time is Up " each five-minute.
" Time is up "
after five-minute..
" Time is up "
after five-minute..
I
I use imap_status, but i want the information on the mail
(Subject,Size).
Thanks
--
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 PROTECTE
are you sure it has not been deleted. If you check to see what's in it and
it doesn't exist you'll get the answer that it contains a null value (same
as any other non-exitsant variable). Did you do a foreach to check what is
actually in the array?
Tim Ward
Senior Systems Engineer
If you run PHP as a CGI, or as an ISAPI module *without* installing the ISAPI
filter, then IIS will have already dealt with everything to do with headers
before PHP gets a look in. Installing PHP in the ISAPI filters list allows it
to get at the headers and do authentication, however you may ha
nl2br(). Translating \n to would need str_replace() or some sort of reg
exp function. Two carriage returns will be interpreted as which is
actually what html does with the tag anyway.
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this
Thanks for your help, this is what I get when I try a uptime while logged in
as nobody.
host:/# su nobody
host:/$ uptime
Error: /proc must be mounted
To mount /proc at boot you need an /etc/fstab line like:
/proc /proc p
I can only say that you must have the Oracle extensions installed and
enabled in PHP.ini
Please post in text format next time!
--
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 ad
> How can I get an Enter typed in a HTML textfield to be inerpreted as a BR
> or
> a P tag?
> Someone sugested I use the split() function, but I wouldn't know how...
nl2br
http://at.php.net/manual/de/function.nl2br.php
michi
--
Sent through GMX FreeMail - http://www.gmx.net
--
PHP General M
I can tell you that I also read that authentication won't work while PHP is
installed as CGI.
""Brave Cobra"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I know it doesn't have a lot to do with PHP, and then again...
>
> I'm trying to get PHP authen
> $a = "whatever";
> $b = "abc $a def";
> echo $b;
but:
$a = 'whatever;
$b = 'abc $a def';
echo $b;
doesn't do what you like (and this is more likely your problem!)
this is the clue:
$a = 'whatever;
$b = 'abc $a def';
echo eval($b);
michi
--
GMX - Die Kommunikationsplattform im Internet.
http
> Hi all,
>
> I have a big array (nearly 1000 lines) that I would like to pass to a C
> program. I don't want to create a temporary file to pass my array (If
> possible ?!?), and I don't think the command line will fit my needs.
>
> Is there a way to execute a program with a php string as the st
> This is all fine and dandy, I can access this directory using
> a client based browser, surf around and check html files.
>
> But when I try to access a php file, I get the following
> error message...
This is probably because you're accessing \\sharename\www\myscript.php,
which tells whate
Hey! I'm using the newsserver! and it's cool!
""Michael Simcich"" <[EMAIL PROTECTED]> wrote in message
01c0fddd$8f329330$6401a8c0@gemini">news:01c0fddd$8f329330$6401a8c0@gemini...
> I hadn't checked the php news servers since the mailing list went back
> online. At least to me, at this mo
something like that
""little boy"" <[EMAIL PROTECTED]> wrote in message
9h90pi$3ag$[EMAIL PROTECTED]">news:9h90pi$3ag$[EMAIL PROTECTED]...
> hi,all
> I want to get the input of keyboard from php files,but i can't know how
to
> do.
>
> Who can tell me any advace about that?
> Thx.
>
>
>
>
There has been a discussion similar to this. But unfortunately PHP doesn't
have such feature.
"Morgan Curley" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is there any statement analogous to perl's caller which will tell you what
> called the current functio
array_splice() is the best!
thanks for the hint.
"Philip Olson" <[EMAIL PROTECTED]> wrote in message
Pine.BSF.4.10.10106252001180.61091-10@localhost">news:Pine.BSF.4.10.10106252001180.61091-10@localhost...
> Here's an example :
>
>
> $foo = array('a','b','c');
>
> unset($foo[1]
> Yes, Perl is greedy
I was actually using ereg which I believe is POSIX, so POSIX must be greedy
too!
Aral :)
__
([EMAIL PROTECTED])
New Media Producer, Kismia, Inc.
([EMAIL PROTECTED])
Adj. Prof., American University
¯¯
--
PHP
I've never needed to assign Enter to = or just make sure your using
and you should have no problems
peter
-Original Message-
From: Joeri Vankelst [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 8:17 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Enter to BR
How can
nl2br()
http://www.php.net/nl2br
Jason Lotito
www.NewbieNetwork.net
PHP Newsletter: http://www.newbienetwork.net/ciao.php
PHP, MySQL, PostgreSQL Tutorials, Code Snippets, and so much more
> -Original Message-
> From: Joeri Vankelst [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 25, 200
I have a function that is for sending an e-mail to the customer
the messages is stored in a mysql table. Then when the function is
called it pulls the data into the mail program. My problem is this
in the data that is stored in the table the data looks like this
"Your webhosting account at $hostna
On Tue, 26 Jun 2001 00:28, Tyler Longren wrote:
> Hello,
>
> I have something like this:
> $Month = "6";
> $Year = "2001";
> $Date = "1";
>
> Is there any relatively simple way to get the day out of that? For
> example, the day for 6-1-2001 would be Friday.
>
> Thanks,
> Tyler
If that info comes
date('l', mktime(0,0,0, $Month, $Day, $Year));
- Original Message -
From: "Tyler Longren" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>
Sent: 2001. június 25. 16:58
Subject: [PHP] date -> day
> Hello,
>
> I have something like this:
> $Month = "6";
> $Year = "2001";
> $Dat
On Tue, 26 Jun 2001 07:46, Joeri Vankelst wrote:
> How can I get an Enter typed in a HTML textfield to be inerpreted as a
> BR or a P tag?
> Someone sugested I use the split() function, but I wouldn't know how...
>
> Joeri Vankelst
nl2br() is just the tool for this.
--
David Robley Techno-
Hi Ted,
There is an installer available for free that will painlessly install apache, php, and
mysql on your windows system.
Good tool for trying out stuff locally or hosting an intranet application on a windows
box.
PHPTriad available from www.phpgeek.com
Can't praise it enough.
Tim McGuire
P
1 - 100 of 119 matches
Mail list logo