"//","$$1",$curline);
>
> So for the current line I am looking for something like I
> want to replace that with the contents of $copyright.
>
> Can variable variables be used in regular expressions?
>
> Jeff
> - Original Message -
> From: "
On Sat, 17 Nov 2001, Mitja Pagon wrote:
> I want to know if there is a way to include(require) a file using a path
> relative to web server root.
I think you'll find the $DOCUMENT_ROOT environment variable handy :)
~Chris /"\
I _hate_ echo'n out big batches of HTML, so I never do it. I prefer to
include HTML, or have a class or function write HTML. However, printing
in heredoc style is very handy ... more so than sliced bread.
For example:
The bear is ${name}.
EOF;
print( date() );
?>
PHP code, fo
On Sun, 25 Nov 2001, Rudi Ahlers wrote:
> Can anyone explain classes to me please? On many sites have I seen classes,
There are people earning PHD's while explaining classes. I know your
question originates from using PHP, and this is a PHP general mailing list
... but your question is just a ta
On Sun, 25 Nov 2001, Miles Thompson wrote:
> Not such a useless explanation at all, in fact a damned good one. Tight &
> concise, and you immediately related the functions to code examples, along
> with an easy-to-visualize object, the chair.
Sweet ... I'm glad you found it useful! TY
> 1. Why
On Mon, 26 Nov 2001, Greg Sidelinger wrote:
> Can someone tell me how to store a class in a session var. I want to
There are several things you need to do.
1) include the class definition before you do anything
2) start the session shortly thereafter
3) register a session variable
4) create y
difference between IIS and Apache concerning to the sintaxis
of some functions in PHP?
Sorry for my little english, I really speak spanish.
Thanks.
William
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
I got that, Why it could be?
Fatal error: Cannot redeclare reporte_llamada() in
c:\Inetpub\wwwroot\online\includes\funciones.php on line 4
and the code for reporte_llamada()in ...\funciones.phpis :
function reporte_llamada ($telefono,&$folio,$fecha_ini,$fecha_fin, $tipo) {
I got this error:
Fatal error: Call to undefined function: ocilogon() in
C:\Inetpub\wwwroot\online\classes\class.Telefono.php on line 19
Why it could be?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
I think an animal mascot is a beat idea.
Needlenose pliers. Enough said! ;)
~Chris /"\
\ / September 11, 2001
X We Are All New Yorkers
is "imap_mail()" currently available in Win32??
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 PROTECTED]
I need to send eMail under Win32
Regards..
William
--
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 PROTECTED]
ss them from the new window opened...
thanks in advantage...
William.
--
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 PROTECTED]
On Tue, 28 Aug 2001, Hugh Danaher wrote:
> I think at one time I tried using double quotes but didn't get good results.
> If you have time to answer, why the backslash and what the hell is "foo"?
Using the backslash escapes the double quote ... tells php to not use the
double quote (as it does t
On Wed, 29 Aug 2001, Joseph Bannon wrote:
> I want to use fgets to get an image off the server and then print it. Kinda
> like if you call the script picture.php, an image will appear. How do I do
I do this, with fopen() and fpassthru() ...
$im = fopen( "myImage.jpg", "r" );
if(
On Thu, 30 Aug 2001, Joseph Bannon wrote:
> What exactly does fpassthru do? Does it download it to my server and then
> shoot it to the browser??
(http://php.net/fpassthru)
For the file pointer on which it operates, it reads the file pointer until
EOF and sends the data to STDOUT. It is very m
On Thu, 30 Aug 2001, Joseph Bannon wrote:
> The thing I want to avoid is using my server's bandwidth. Each member gets a
> profile and can have a photo referenced from their homepage. I use to allow
> people to upload photos, but I'm getting close to using my 60GB bandwith
> limit. The people tha
On Fri, 31 Aug 2001, Nic Skitt wrote:
> Warning: Cannot add header information - headers already sent by (output
> started at c:\apache\apache\htdocs\client-secure.php:11) in
> c:\apache\apache\htdocs\client-secure.php on line 18
>
> Which would indicate that the line 11 is sending output to the
On Mon, 3 Sep 2001, Dhaval Desai wrote:
> session_encode($dhaval);
...
> when I check out the c:\tmp\ directory and check out
> the session data I can still read the same as
> dhaval=trythisout and it's not encoded...is it coz the
session_encode() returns a string for you to use in a PHP script
On Mon, 3 Sep 2001 [EMAIL PROTECTED] wrote:
> I am filling out a form , and submitting it to the next
> page which just prints what I submitted, but it doesnt print any
> returns, i used when i filled out the previous
Try using nl2br() in the output script (page).
http://php.net/nl2br
On Mon, 3 Sep 2001, Bob wrote:
> look. What I am looking for is the cool factor. I know technology needs time
> to improve but what's going to be cool in PHP5??? It's like a race that never
> finishes and who is winning? ASP or PHP?
PHP5 will still run on your Free OS, your CLI OS, your Pay
On Tue, 4 Sep 2001, Seb Frost wrote:
> I have a folder of ~80kb images that are dynamically resized using PHP into
> ~1.4kb thumbnails. Now for each one the PHP server sends an HTTP request
> for the 80kb image, and this is being counted against my 10,000MB.
>
> Should it? Am I in the right in
On Mon, 3 Sep 2001, Miguel wrote:
> I need to refer these fields like vector in PHP and Javascript mode.
> When I write then I can see values
> in PHP sccript, BUT can't see values in javascript mode, thats to say
> document.form.myfield[index].value doesnt work.
> On the other side, when I make
On Mon, 3 Sep 2001, Michelle Marcicki wrote:
> website. It is using PHP3 and MySQL. We had to move it to a new server, that
> as it turns out only supports PHP4. I have been looking through all the FAQs,
Are you running an Apache web server? If so, add this line to your
httpd.conf file and r
On Mon, 3 Sep 2001, Michelle Marcicki wrote:
> I am NOT running the server. I am using a local ISP (excellent guy but not
> really accessible on this long weekend), so I have no control over what the
OOOH ... Nasty! If the admin can't add the .php3 extension for you, then
you'll be stuck renami
On Tue, 4 Sep 2001, sagar wrote:
> I have a remote server running my website. I've to make the backup of the mysql db
> i'm using. i can use mysqldump for this. but i'm not sure where the file will be
>created
> on the server and also i want to make that file to .zip and then download it to my
On Tue, 4 Sep 2001, Jason Murray wrote:
> Nah, in Illegal Monopoly OS, its just as easy as Apache.
Rather than the web server config, I was referring to renaming all the
.php3 files to have .php extensions, and combing through all the files,
finding all references to .php3 files, and changing th
On Tue, 4 Sep 2001, Jason Murray wrote:
> But then, the right tools make the job easy regardless of
> platform.
For sure! I don't bother with all that clicking ... now you [Unix folk]
don't have to either :)
#!/bin/sh
for PHP3FILE in `find . -type f -name "*.php3" -print`
do
PHP4FILE=`e
On Tue, 4 Sep 2001, Boaz Yahav wrote:
> I'm currently using PHP 4 on Solaris on a front end server with MySQL on
> Solaris as a db server.
...
> I want to work with MSSQL Server 2000 instead of MySQL, does anyone have
> experience with working with such
> a combination? PHP4 on Solaris as front an
On Wed, 5 Sep 2001, nyon wrote:
> I got an error "Maximum execution time of 30 seconds exceeded in C:\... on line 224"
>while
> accessing a PHP page tie to a Mysql database.
>
> 3. How to I set it to 60 seconds ?
This is the default PHP configuration.
In your php.ini file, look for this line:
On Wed, 5 Sep 2001, Johan Vikerskog (EMP) wrote:
> My php script is generating a file that is saved in Unix format.
> I automatically get the "^M" in the end of everyline. Is there a way
> of saving this without getting the "^M" in the end of each line?
The ^M you see is a DOS carriage return/li
On Tue, 11 Sep 2001, Ryan Stephens wrote:
> Im trying to output a list of options, each with a checkbox named "ChkBox"
...
Name each checkbox "ChkBox[]" ... the brackets are the key.
When the form is submitted, you'll have an array called $ChkBox that will
contain the data only from the checked
On Sun, 16 Sep 2001, Luboslav Gabal ml. wrote:
> I have script for getting header of article from NNTP server using sockets:
> output have look so:
> From: "Antonin Mohaupt" <[EMAIL PROTECTED]>
> but it is only
> From: "Antonin Mohaupt"
> What's the problem ? I tried higher raise length of da
is is causing this bug.
Please advise!
PHP 5.2.4 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 22 2007 02:01:31)
Server version: Apache/2.2.4 (Unix)
Server built: Mar 6 2008 02:37:06
Thank you ahead of time list.
_______
William J. Edsall
Walking on water
esday, March 03, 2009 11:18 AM
To: Edsall, William (WJ)
Cc: php-general@lists.php.net
Subject: Re: [PHP] possible session bug - Mantis Bug Tracker
On Tue, 2009-03-03 at 11:01 -0500, Edsall, William (WJ) wrote:
> Hello list!
> I'm having a strange problem with php after installing Mantis Bu
PLEASE, PLEASE, PLEASE - HELP ME GET OFF THIS LIST --- YOU PEOPLE ARE
DRIVING ME CRAZY1
Please unsubscribe: m...@honeyflowfarm.com,
wschn...@mail.honeyflowfarm.com or anyone else @honeyflowfarm.com or
wschn...@gm.com
PLEASE
At 08:32 AM 2/23/2010, you wrote:
I've
now installed apache and php, however I'm experiencing
the following
problem
when I try to run test.php file:-
I
get prompted with a dialogue box asking if I would like to download
the
file, any ideas on why this is happening, once this is fixed I
think
I'll have everything
addir_r'
make: *** [main/reentrancy.lo] Error 1
Can anyone suggest anything for me to try??? Thank you all for any help
you can give.
Regards,
William "Billy" A. Strader
NAISMC Web Services
Work: 865-425-5178
Pager: 865-417-5012
Emergency Pager: 865-417-5622
--
PHP General Mailing L
I've run into a problem where mb_convert_encoding seems to be converting
to ASCII, even though I'm telling it to convert to UTF-8. This is with
PHP version 4.3.11.
I had been asking it to convert from "auto" to UTF-8, so at first I
thought maybe "auto" was not the right choice. So I called
But, the "UTF-8 to ASCII" case for "Minnie=Miñoso" is still (seemingly)
screwy.
Robert William Vesterman wrote:
I've run into a problem where mb_convert_encoding seems to be
converting to ASCII, even though I'm telling it to convert to UTF-8.
This is with PHP ve
( $x ) ) );
output ( "Convert from ISO",
mb_convert_encoding ( $x, "UTF-8", "ISO-8859-1" ) );
?>
Output for "Minnie=Mi%F1oso":
Raw: Mi?oso ... UTF-8
Convert from detected: Mioso ... ASCII
Convert from ISO: Miñoso ... UTF-8
Robert W
And the culprit is that mb_detect_order() wasn't set up to handle
ISO-8859-1. It was "ASCII, UTF-8". Changing it to "ASCII, UTF-8,
ISO-8859-1" makes everything work as expected.
Robert William Vesterman wrote:
OK, now the problem seems to be not that mb_conv
ASCII
characters, which mb_detect_encoding therefore said was ASCII.
tedd wrote:
At 11:28 AM -0400 4/23/08, Robert William Vesterman wrote:
A little additional info: The "ASCII to ASCII" case for
"Minnie=Mouse" is merely because the UTF-8 encoding for "Mouse" is
the sa
and other issues)
but its very very not easy and a lot depends on protocol in question.
--
William Leibzon
Elan Networks
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I am trying to install a package using SSH because my Web-based PEAR is not
working. So, I type in "pear install Date." But, it only says
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed:
Non-recoverable failure in name resolution in RPC.php on line 464
Warning: fsockopen(
r forms valid domain.
--
William Leibzon
Elan Networks
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Please try below page/program on your system entering "ab-cd" and
please tell me I dont know regex - because the way I see it the
results of those tests should have been the same...
---
Please enter something with a dash here:
Saludos
Se podrá con PHP poner un scroll en la barra de mensajes del explorer,
alguien lo ha hecho?
Lo he checado con JavaScrip, pero PHP lo hace?
Espero alguien me ayude.
William Morales
Tabasco, México
> > Newbie question.
> >
> > I'm working my way through IBM's PHP tutorial. Generally good ... but I'm
> > stuck at an error point and have no idea what's going wrong.
> > Before adding a new row to the mysql database (already opened) we do a
> > query to see if a particular record already exist
Matt,
Maybe the mistake is at the quotes...
Just replace the double quotes inside the select statement by single
quotes...
Try something like:
$sql = "select Business_Name,Trading_Details where
Business_Type='Consultancy' and Bassingbourn != '0' from Main";
Hi,
Maby you could help me on why I get this message when using variables:
Undefined variable: UN1 in c:\inetpub\wwwroot\sdd\pages\redirection.php
on line 15
I have PWS being used, PHP 4.3.0 & Apache 2.0.34. OS is Windows 2k
If you could help that would be great because I need it for testing
sc
> > Maby you could help me on why I get this message when using variables:
> > Undefined variable: UN1 in c:\inetpub\wwwroot\sdd\pages\redirection.php
> > on line 15
> Because you have an undefined variable. You have a variable that has not
> been assigned a value. Assign it a default value or use
bin/httpd2-prefork: error while loading shared
libraries: /usr/lib/php/extensions/unixODBC.so:
undefined symbol: SQLAllocEnv script not found or
unable to stat
I'am not sure this is a PHP or an Apache problem.
Anybody have any experience with this.
Appreciate your help.
401 - 453 of 453 matches
Mail list logo