Hi,
This is a question regarding Macromedia Generator 2 using PHP 4.
I have created a PNG and using a URL method to call .php file.
In documentation they are saying ' You can call any file but content that
returns must be in a text file and in proper format'
What do you mean by that ?
Is
Hi all!
I'm having problems compiling PHP 4.0.5 on Tru64, and was hoping that
someone could help me. Here's the info:
OS: OSF1 bob V5.0 1094 alpha
COMPILER: gcc version 2.9-gnupro-99r1
COMPILER: Compaq C V6.1-020 on Compaq Tru64 UNIX V5.0A (Rev.1094)
MAKE: GNU
I have /TMP configured as tmp dir for session files.
However, each time I try my program there is a new file; not one is being
removed, either.
How to tell PHP to remove session files when they are not needed any more?
TIA,
Davor
--
PHP General Mailing List (http://www.php.net/)
To
Fatal error: The script tried to execute a method or access a property of an
incomplete object. Please ensure that the class definition cl_korisnik_data
of the object you are trying to operate on was loaded _before_ the session
was started in user_info.php on line 72
I declared class like
im using PHP + APACHE on Linux Box
i wonder what command in PHP can i use to execute Unix commands
i got to read also exec(), system(), passthru(),popen(), and
excapeshellcmd()
but what if i want to use the command ls and store ALL output in a
variable
i thought system() is
This error occurrs when you start a session that recreates an object
variable but does not know the class definition for it.
You need to make sure you include the class source before you start the
session.
-Stewart
-Original Message-
From: Davor Pleskina [mailto:[EMAIL PROTECTED]]
Sent:
for your specific example, check out
http://www.php.net/manual/en/function.readdir.php
lots of simple functions like that have already been written for
you...the joy of php ;-)
-jack
macky wrote:
im using PHP + APACHE on Linux Box
i wonder what command in PHP can i use to execute Unix
Why don't we write to zdnet and tell them what a lousy article this was?
-Original Message-
From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 09, 2001 8:36 PM
To: 'Tyrone Mills'; PHP List
Subject: RE: [PHP] PC MAG article - what a crap!
Are there any visual Image select solutions for upload forms topping the limited
Windows Explorer?
If you have an input type=file the explorer opens and gives you a list of files in
the directory. Thats nice exept u need to select a specific image from a larger number
of image files.
Is
Hello folks,
I've found some mail in the archive (php-install), but much fewer replies that helps
me.
I'd like to install my PHP 4.0.4pl1 with sablotron support on debian (frozen).
After ./configure --with-apxs --with-pgsql --with-sablot, I got the following error
(in debug.log)
When i compile PHP on my FreeBSD with the following confgoptions, i don't
get png support.
Whats wrong?
./configure --with-jpeg-dir=/usr/local/src/jpeg --with-png-dir=/usr/local/sr
c/libpng --with-gd=/usr/local/src/gd
checking whether to include GD support... yes (static)
checking for compress
You might want to take a look to apache's documentation,
like virtual hosts, and multiple ip. then check it with
environment variables, as 'Adaran' told you. anyway,
I did not try it yet...
Daniel BI
--
Scott Does anybody have any scripts or tips on hosting multiple domains on
How can I protect a pdf-doc
with passwords after creating it
with pdflib?
--
Jochen Kaechelin - Ihr WEBberater
Stuttgarter Str.3, D-73033 Goeppingen
Tel. 07161-92 95 94, Fax 07161-92 95 98
http://www.wa-p.de, mailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To
Hi,
Does anyone know a FREE forum or bulletin board that
written in PHP? Please give the name or URL.
I would like to download and try it out...
Thanks!
Yong
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi,
Our new MySQL-databasesystem (just one table) runs very well with PHP4 - when accessed
with MS Internet Explorer.
I just tested it with Navigator 4.7 and found that it always shows only ONE dataset!
It tells correctly the number of found sets and will show others when I sort the
results
Thanks, Stewart, I will check for that!
Taylor, Stewart [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
This error occurrs when you start a session that recreates an object
variable but does not know the class definition for it.
You need to make sure you
Ho
I am on my way to a project where data is stored/will be stored on a Domino
database. The problem is that I am not familiar with this database, or what
it can do.
1. Is it simple to connect to a database like that by using php (or perl),
compared to a mysql connection ?
2. What is the
phorum.org
M@
--
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]
Hi,
1. Is it simple to connect to a database like that by using php
(or perl), compared to a mysql connection ?
PHP, as far as I know, doesn't support Domino directly. but you
should be able to connect to Domino via ODBC (ODBC support on
Windows PHP binaries is built in, for Unix it might be
Hi,
I am setting up a php emailer facility using the 'mail' function, I have
defined the 'Return-Path:' in the fourth argument of 'mail', but this keeps
getting overwritten by sendmail:
my code says:
$headers .= Return-Path: [EMAIL PROTECTED]\n;
but the source on the resulting email says:
there's a simple and free one i'm releasing very soon from my
homepage : http://www.wde.org/me/php/ its got a working example too.
/sunny
--- Kian On [EMAIL PROTECTED] wrote: Hi,
Does anyone know a FREE forum or bulletin board that
written in PHP? Please give the name or URL.
I would
hi all,
i've got a simple problem, yet it doesn't work, so i hope someone can
help me out here.
i've got a table with id, group, and name. each group has many names
ofcourse.
now i need to output the data like :
group1
name1
name2
name3
group2
name4
name5
group3
name6
On 09-May-01 Jon Haworth wrote:
snip
be sure to check for the NULL :
if (isset($amyrow[date])) {
if ($amyrow[date] == -00-00 00:00:00) {
echo no date;
} else {
echo $amyrow[date];
}
} else {
www.phorum.org
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
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
I'm trying to get a redirect working - never done one before.
Here's the line from the referring page (index.php3):
a href=redirect.php?fred=www.fusion.org.autest link/a
Here's redirect.php:
?php
echo $fred;
if ($fred != ) {
# $statement = UPDATE links SET hits=hits+1 WHERE href=\$u\;
#
I have transferred to another host, changed the db name and the password but
when I call my database I get the message 'Cannot redeclare array_push()in
/home/(...) /brokenlink/functions.php3 on line 3'
Can abyone please telle me what this means and what I can possibly do about
it?
Thanks
Theo
Hi,
Anyone knows if there is a XML version of the PHP manual ?
Ovidiu
--
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]
hey! what's that 'echo' doing there?
if you want to use header (and you want to) it must be the firts thing you
output from your script
so.. first of all loose the 'echo' stuff
- Original Message -
From: Steve Wade [EMAIL PROTECTED]
Here's redirect.php:
?php
echo $fred;
--
PHP
On Thu, 10 May 2001, Steve Wade wrote:
I'm trying to get a redirect working - never done one before.
Here's the line from the referring page (index.php3):
a href=redirect.php?fred=www.fusion.org.autest link/a
Here's redirect.php:
?php
echo $fred;
I don't think you can output anything
Ok - thanks - my new redirect.php is
?php
if ($fred != ) {
# $statement = UPDATE links SET hits=hits+1 WHERE href=\$u\;
# mysql_query($statement);
Header(Location: $fred);
exit;
} else {
Header(Location: $HTTP_REFERRER);
exit;
}
?
I get the following message...
On 10-May-01 macky wrote:
im using PHP + APACHE on Linux Box
i wonder what command in PHP can i use to execute Unix commands
$foo=`ls`
thats a back-tick
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are
Hi all,
Mark seeing as how zdnet is owned by microsoft, you can decide how much
Mark credibility you can give their articles.
Well, remember the article where they say, that the Microsoft web server
solutions are a zillion times faster than Apache ? =)
Well, is PHP the only scripting language
guess
Maybe the new host has a different compile setup for PHP, one that includes
a function named array_push(). Try renaming yours (push_array(), perhaps?)
and seeing if it works then.
/guess
HTH
Jon
-Original Message-
From: Theo Richel [mailto:[EMAIL PROTECTED]]
Sent: 10 May 2001
Thanks to all you guys who helped me.
I don't know if it's the best way, but the important is that works perfect.
It does search a string between foo/foo in a MySQL database and, if it
finds the string, will replace for the URL.
I'm posting it below:
function search4url($source) {
$pattern =
Hmm, i had the same problem here, running FreeBSD and php-4.0.x + GD.
Here is what i did, and it worked:
make sure there is only 1 static gd-library on the system (search for
libgd).
second, install GD (make install after the compilation) make also sure that
libpng is correctly installed and
On 10-May-01 Kasper Kristiansson wrote:
When i compile PHP on my FreeBSD with the following confgoptions, i don't
get png support.
Whats wrong?
./configure --with-jpeg-dir=/usr/local/src/jpeg --with-png-dir=/usr/local/sr
c/libpng --with-gd=/usr/local/src/gd
checking whether to
Hi Lilly,
Lilly Hi,
Lilly Our new MySQL-databasesystem (just one table) runs very well with PHP4 - when
accessed with MS Internet Explorer.
Lilly I just tested it with Navigator 4.7 and found that it always shows only ONE
dataset! It tells correctly the number of found sets and will show
Hi Steve,
Thursday, May 10, 2001, 1:39:36 PM, you wrote:
Steve Ok - thanks - my new redirect.php is
Steve ?php
Steve if ($fred != ) {
Steve # $statement = UPDATE links SET hits=hits+1 WHERE href=\$u\;
Steve # mysql_query($statement);
Steve Header(Location: $fred);
Steve exit;
Hi Steve,
Thursday, May 10, 2001, 1:39:36 PM, you wrote:
Steve Ok - thanks - my new redirect.php is
Steve ?php
Steve if ($fred != ) {
Steve # $statement = UPDATE links SET hits=hits+1 WHERE href=\$u\;
Steve # mysql_query($statement);
Steve Header(Location: $fred);
Steve exit;
Maybe try using Reply-To instead of Return-Path
-Stewart
-Original Message-
From: Kevin Price-Ward [mailto:[EMAIL PROTECTED]]
Sent: 10 May 2001 11:18
To: [EMAIL PROTECTED]
Subject: [PHP] Defining the Return-Path in an email header?
Hi,
I am setting up a php emailer facility using the
Ahh - thanks - that's helped :-) (Line 9 was the http_referrer line)
Now the only trouble is, it seems to still treat $fred as null.
The passing line is from index.php:
a href=redirect.php?fred=www.fusion.org.autest link/a
Should this work?
Thanks,
Steve
Hello all,
when I use the functions require_once and include_once in Linux I have no problem (php
4.0.2), but using it in irix and in older version of php (4.04bl1) I have problems,
any idea?
Best Regards
Miguel Loureiro [EMAIL PROTECTED]
ok.
I have this problem of mine which i dont know how to solve. therefor i use this
great mailing list.
Lets say i have a URL that looks something like this.
http://adam:9000//usr/local/test/test.html
and i want to change this with a PHP script to
Hi.
I have turned on zlib.output_compression in my PHP 4.0.5 php.ini file, and
it works beautifully. But if I want to turn off all buffering/compression
for a single page, how do I do that?
Regards,
Jakob Kruse
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
Sandeep,
Try:
$sql=SELECT group, name FROM $tablename WHERE approved='yes'
ORDER BY group, name;
Don't know what fieldname folder is in your original SQL. You said that
the table had only id, group, name. But I note that you must also have a
fieldname called approved.
In any case, assuming
You should probably urlencode the address first, like this:
a href=redirect.php?fred=?php echo urlencode(www.fusion.org.au)
?test link/a
Not sure if it solves the problem though.
Regards,
Jakob Kruse
Steve Wade [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Ehm... did you enable the ? ? tags in the php.ini file?
If the code is being shown on the page it stands to reason that PHP did not
process the page at all.
Regards,
Jakob Kruse
Maxim Maletsky [EMAIL PROTECTED] wrote in message
This has to do with session garbage collection. Check the
session.gc_probability option in your php.ini. I suspect the default value
of 1 means 1% chance of a collection on each session start. Changing it to
100 did the trick for me.
But do consider whether you really *want* to do garbage
Thanks - hmm - doesn't seem to do it though.
My current code is:
?php
if ($HTTP_GET_VARS['fred'] != ) {
# $statement = UPDATE links SET hits=hits+1 WHERE href=\$u\;
# mysql_query($statement);
header(Location: $HTTP_GET_VARS['fred']);
exit;
} else {
header(Location:
Well, that just means you have to rewrite the line:
header(Location: $HTTP_GET_VARS['fred']);
like this:
header(Location: . $HTTP_GET_VARS['fred']);
But have you tried it with just $fred? You shouldn't have to use
$HTTP_GET_VARS.
Regards,
Jakob Kruse
Steve Wade [EMAIL PROTECTED] wrote
yes I know, PHP wasn't meant for this task... the question has been
asked a number of tmes since V2...
we have exit() which, all though you can place a variable or string in
it, only prints it to the screen prior to killing itself (not sending
as an exit code)... same with die AFAIK.
is there
is there a limit to the number of fields one can put in an array??
heres the code im using to create the array
$arrResIDs = explode(,,$RESID,300);
now $RESID has at least 100 different values in it but when i print out the
array i only get 80
can anyone shed some light on this subject???
--
Steve,
The way you are doing things could leave yourself open with all kinds of
problems - one of which is address spoofing. A better way would be to TEST
the link against values in the database before updating the link with a hit
and exiting. Have the URL's marked against an auto-incremented
At 16:53 10/5/2001, Jakob Kruse wrote:
Hi.
I have turned on zlib.output_compression in my PHP 4.0.5 php.ini file, and
it works beautifully. But if I want to turn off all buffering/compression
for a single page, how do I do that?
The only way to selectively configure zlib.output_compression for
On Fri, 11 May 2001, Steve Wade wrote:
Thanks - hmm - doesn't seem to do it though.
My current code is:
?php
if ($HTTP_GET_VARS['fred'] != ) {
# $statement = UPDATE links SET hits=hits+1 WHERE href=\$u\;
# mysql_query($statement);
header(Location: $HTTP_GET_VARS['fred']);
php.ini was only touched in few places such as include_path, auto_prepend,
append, exec time, memory limit, upload limit, post ... I think this is it.
I haven't touched anything else. Therefore others are the default ones.
PHP DID process the file, when there are no comments '//', if there are,
Importing table data with PHPAdmin always fails wherever a \ character
appears in the data values.
I create the table dump with PHPAdmin, but when I try to insert the data
into a new database, it keeps failing with the following error:
You have an error in your SQL syntax near 't blah blah
you need to recompile apache too, unless you want to run php as cgi,
in which case you just leave out the --with-apache part
Can I call PHP like normal if I don't install it with Apache?
Also, is there any way of cheating this?
Joseph
--
PHP General Mailing List
blaze board is what i use:
http://www.bbhacks.com/
--
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]
Hi.
Why doesn't PHP convert mutiselect values with plain names (not array-like)
to arrays. Is there any reason to not doing this?
Example:
I have a page with multiselect, which name is SEL1
(I cannot use square brackets because I need to use a JavaScript on the
page, so, it's not allowed in
I'm currently working on a project and I've come across a problem which I'm
sure has been discussed several times before but I still need some
assistance on it.
I have a page with a form whose action is $PHP_SELF so the form and the form
action are all in the same pagethis works fine but in
And even though it's much less elegant than the
solution by Sean below, you could also use 'eval'
$toast = array(wheat, rye, pumpernickel);
$numbreads = count($toast);
for ($index = 0; $index $numbreads; $index++) {
eval(\$column$index = '$toast[$index]';
echo
surely all you need to do is put the php right at the top, and say
if (isset($variable) { print this message }
else {do this
header (); }
i've done that loads of times so the form data goes back to the page, and
once its inserted into the db, it sends a header to redirect.
/sunny
or if you're hellbent on using one form, you could
set a cookie db_insert_formname=1; so that if
the page refreshes, you can check the value of the
cookie to make sure you dont re-insert the data
-Original Message-
From: Sandeep Hundal [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
Chad Guilette [EMAIL PROTECTED] wrote in message
000701c0d962$d28fb670$0100a8c0@optimus">news:000701c0d962$d28fb670$0100a8c0@optimus...
I'm currently working on a project and I've come across a problem which
I'm
sure has been discussed several times before but I still need some
assistance on
Can someone pass on the URL for searching for PHP shopping cart programs
and shopping cart related questions.
Many thanks...
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Found what appears to be the answer to this over at phpwizard.net.
http://phpwizard.net/phorum/search.php?f=1search=magic_quotesmatch=1date=30fldauthor=1fldsubject=1
Apparently, you need to upgrade to version 2.1.0 of phpmyadmin AND you have
to enable magic_quotes in php.ini or in .htaccess
http://www.hotscripts.com/PHP/
Jeff Oien
http://www.webdesigns1.com/php/
Can someone pass on the URL for searching for PHP shopping cart programs
and shopping cart related questions.
Many thanks...
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General
Hi List..
How do I convert this Sep 20 2000 00:00:00 into UNIX timestamp so that I
can use the toDate() function to again convert it to the earlier format. I
need to do this becoz I am moving from one table to another table where I
get error, if I already have the converted date value with
Actually, you *can* use brackets ([]) in names and javascript can handle
them just fine.
-Stathis.
Max Vysotskiy wrote:
Hi.
Why doesn't PHP convert mutiselect values with plain names (not array-like)
to arrays. Is there any reason to not doing this?
Example:
I have a page with
Previously, Kevin Price-Ward said:
I am setting up a php emailer facility using the 'mail' function, I have
defined the 'Return-Path:' in the fourth argument of 'mail', but this keeps
getting overwritten by sendmail:
my code says:
$headers .= Return-Path: [EMAIL PROTECTED]\n;
but the
Todd Cary [EMAIL PROTECTED] wrote:
Can someone pass on the URL for searching for PHP shopping cart programs
and shopping cart related questions.
google.com? Or search the php list archives at
http://marc.theaimsgroup.com/.
Many thanks...
Here are some shopping carts written in PHP. I
mktime -- Get UNIX timestamp for a date
Description
int mktime (int hour, int minute, int second, int month, int day, int
year [,int is_dst])
Parse that list of values into the respective variables and pass them
to mktime
-jack
TV Karthick Kumar wrote:
Hi List..
How do I convert
unfortunately, that doesn't seem to work either. it basically only gives me
on name per group. here's my php:
$query = SELECT * FROM $tablename WHERE approved='yes' GROUP BY group ORDER
BY group, name;
$result2 = mysql_query($query2);
if ($result2) {
while ($r2 =
doh! i just realised the difference in $query number, but thats not an issue
in the actual code, i just cleaned that up a bit
/sunny
-Original Message-
From: Sandeep Hundal [mailto:[EMAIL PROTECTED]]
Sent: 10 May 2001 16:49
To: 'bill'; [EMAIL PROTECTED]
Subject: [PHP] i need some
Sandeep Hundal [EMAIL PROTECTED] wrote:
i've got a simple problem, yet it doesn't work, so i hope someone can
help me out here.
i've got a table with id, group, and name. each group has many names
ofcourse.
Are these *all* of the field names?
now i need to output the data like :
group1
Many thanks to all. Exactly what I need!!
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
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
Hi,
I have a problem with the session variables.
?
class Autorizacao
{
//Atributos---
var $nome_usuario;
var $webmaster_mail;
var $acao;
var $url_sistema;
You may wish to check here for comparsons:
http://www.l-i-e.com/compare/
Plus, there was a discussion set up in onelist - phpcart. It's idle now but
may be searchable.
Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software http://www.openlinksw.com
Universal Data Access
H-
A good place to start would be GD.pm and ImageMagick
http://stein.cshl.org/WWW/software/GD/GD.html
http://www.wizards.dupont.com/ -- This is the website but it's not
pulling up right now.
There are many others but this will give ya a start.
HTH,
-Sterling
Adam Plocher wrote:
I want
-Original Message-
From: Steve Werby [mailto:[EMAIL PROTECTED]]
Sent: 10 May 2001 17:04
To: Sandeep Hundal; php
Subject: Re: [PHP] i need some help with extracting data from mysql
Sandeep Hundal [EMAIL PROTECTED] wrote:
i've got a simple problem, yet it doesn't work, so i hope
I'm feeling a bit stupid today
how do I truncate a string to the
first two [a-zA-Z] characters ?
this sure isn't working
snip
$test = jerry;
$test = ereg_replace(^\w*, ^[a-zA-Z]{2} ,$test);
/snip
Jerry Lake
Interface Engineering Technician
Europa Communications - http://www.europa.com
Pacifier
...of course M$ is worried about PHP, see this:
http://www.hotscripts.com/webpoll/results.php
SED
--
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
$sql=select nfo_gname from galaxy_nfo limit 1;
$result=db_query($sql);
if ($result) {
while (list($nfo_gname)=mysql_fetch_row($result)) {
echo ($nfo_gname);
ereg (\[[a-zA-Z0-9]\], $nfo_gname, $regs);
echo $regs[1];
I'm trying to match any thing between [] and pull it from the string and
Hello,
I'm attempting to upgrade my version of PHP from 4.0.4pl1 to 4.0.5. My
configure command is the following for both versions:
---
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --with-zlib=
/usr/local --with-gd=/usr/local --with-jpeg-dir=/usr
On 5/10/01 10:39 AM, Dominic Schanen [EMAIL PROTECTED] wrote:
With v4.0.4pl1, everything works great. With v4.0.5, everything builds and
compiles just fine. However, when I go to a page that try to access MySQL,
the page stops loading and the first instance of trying to access MySQL and
it
Sandeep Hundal [EMAIL PROTECTED] wrote:
my query is SELECT group, name FROM $tablename WHERE approved='yes'
GROUP BY folder ORDER BY folder;
Sorry, substitute folder for Group. I just wrote that by mistake.
Data is such:
1 | friends | name1 | yes
2 | misc| name2 | yes
3 | friends |
You can use javascript with this naming convention, just not the way you're
probably doing it. Here's a working example:
html
head
title/title
/head
body
script language=javascript type=text/javascript
function getValue(field)
{
var form = document.testform;
var temp =
print preg_replace('/(.*?)(\w{2})(.*)/', '\\2', $blah);
works for:
$blah = *9 scott 777zxsdf;
and
$blah = scott;
-Original Message-
From: Jerry Lake [mailto:[EMAIL PROTECTED]]
Subject: [PHP] ereg issues
I'm feeling a bit stupid today
how do I truncate a string to the
first two
use match_all to get an array of matches.
$s = [VET]We r NOT [PA]-Crew [TC];
preg_match_all('/\[.*?\]/', $s, $matches);
while (list($k,$v) = each($matches[0])) {
print $k = $vBR\n;
}
prints:
0 = [VET]
1 = [PA]
2 = [TC]
-Original Message-
From: Michael Roark
http://www.phpbb.com
:D
- James
-Original Message-
From: Matt Williams [mailto:[EMAIL PROTECTED]]
Sent: May 10, 2001 3:14 AM
To: Kian On; [EMAIL PROTECTED]
Subject: RE: [PHP] bulletin board or forum
phorum.org
M@
--
PHP General Mailing List (http://www.php.net/)
To
that's an extremely biased poll... considering that
it's a *scripting* website. it's only logical that
a majority of people going there would choose a scripting
language (and since PHP is so newbie friendly, it also
makes sense that it has such broad appeal to the
newbie web-programmers at the
What exactly is the problem? I don't understand this error message
configure: error: Cannot find mysqlclient library under
/usr/local/mysql-3.23.37
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
I have a PHP script that opens a socket to another (non-PHP) process. This
process has been having problems of late, and can take 10 minutes or more to
execute. I have max_execution_time set to 300 seconds in php.ini. However,
users report to me that the PHP script does not always time-out after
Joseph Bannon wrote:
What exactly is the problem? I don't understand this error
message
configure: error: Cannot find mysqlclient library under
/usr/local/mysql-3.23.37
Before installing PHP --with-mysql=/usr/local/mysql-3.23.37 , you have
to install mysql there first.
regards
Wagner
Hi,
I have a problem with the session variables.
?
class Autorizacao
{
//Atributos---
var $nome_usuario;
var $webmaster_mail;
var $acao;
var $url_sistema;
I think this question was answered by Stewart Taylor earlier today. Here is
his response:
This error occurrs when you start a session that recreates an object
variable but does not know the class definition for it.
You need to make sure you include the class source before you start the
session.
to tie in web based scripts and database updates with some server side
maintenance and authentication issues, we need to have a PHP script be
called from another program. The program expects a return or exit
value to be transmitted back on completion or termination of the
script. 0 indicating
Jack
All I am using is:
html
headtitlePHP Test/title/head
body
?php echo $HTTP_USER_AGENT;
?
/body
/html
thats all that is in the file, and it was simply called hello.php, as I
say, works fine in IE and not in netscape...I dont get it...
Regards and thanks for your help
biscut
-Original
Do you trust a poll that classifies XML as a scripting language?
SED wrote:
...of course M$ is worried about PHP, see this:
http://www.hotscripts.com/webpoll/results.php
SED
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
1 - 100 of 169 matches
Mail list logo