php-general Digest 29 Mar 2001 19:28:22 - Issue 596
Topics (messages 46030 through 46140):
Re: Problem to run java command line with passthru()
46030 by: Brian Clark
Re: Which way to make the thumbnail on the fly
46031 by: Brian Clark
Re: This PHP list
46032 by:
I've searched the archives and relevant web sites to no avail, so as a
last resort I'm turning to this knowledgeable group of people.
I'm working to set up a user authentication system using native PHP 4
sessions on a box running Apache, mod_perl, mod_ssl, PHP (the lastest),
etc.
PHP was
I don't know 100 for sure, but I believe since it is going to an https
link, it considers it a new domain(or something) and that's why the sessions
aren't persisting. The same thing happens if you redirect from say
www.domain.com to www2.domain.com. I odn't know any way around it, except
H-
Well here's a pattern replace issue which I've been working on without
success hence the post. 8^)
I have a variable that has stuff in it (tree, bird, nest, )(yes there is
a trailing space)
What I'd like to do is strip off the last ', ' and replace it with a
single space so that I have
Hi Andrew,
I`m not sure if switching from http to https will count as a *new* domain,
but here is a link to some information which may solve your problem.
http://phpbuilder.com/columns/chriskings20001128.php3
HTH
Ade
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hi!
Can anyone tell me what the difference with those PHP version? I see
the version, "PHP 4.0.4pl1" with a "pl1" and some other version, "PHP 4.0.4"
without a "pl1". Does either of these version had to do with php.ini file?
Thanks,
Scott
--
PHP General Mailing List
At 03:03 PM 3/29/2001, Scott Fletcher wrote:
pl refers to patch level. thus 4.0.4.pl1 is newer and more current then 4.0.4
:-)
~kurth
Hi!
Can anyone tell me what the difference with those PHP version? I see
the version, "PHP 4.0.4pl1" with a "pl1" and some other version, "PHP 4.0.4"
Hi!
When the website have a script error, it display the error message (sort
of a debugging error). What I don't like about that error message is that
it display the include_path comments.
Warning: Failed opening '../dp_banner_menu_final1_support.php' for inclusion
You need to convert all the times you are comparing into a number such as
seconds since the Unix epoch (Jan 1, 1970 I think). Then you can use the
usual programming syntax to do what you want.
Look here for more ideas:
http://www.php.net/manual/en/function.time.php
John
-Original
Hello all.
We've set up a moderated email group at Yahoo! to be a PHP jobs
resource.
This list is primarily intended to be a place for employers or people
with PHP projects
to post their requirements with contact info. It will be moderated to
prevent
spam and other extraneous emails and keep
If you have permission to modify php.ini, see the setting "display_errors"
and the attached comments. You can tell PHP to write these error messages to
a log file instead of to the browser.
Kirk
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March
chagenbuThu Mar 29 11:54:28 2001 EDT
Modified files:
/php4/pear PEAR.php.in
Log:
Fix a couple of warnings when calling PEAR::raiseError() statically.
Index: php4/pear/PEAR.php.in
diff -u php4/pear/PEAR.php.in:1.16 php4/pear/PEAR.php.in:1.17
---
H-
Thanks to those that emailed.
$query = "tree, bird, nest, ";
$new = substr($query,0,2);
Doesn't seem to work. It returns "tr".
I think maybe I should also mention that to get this variable I have an
array that is placed through a for loop
// file://loop through array
for($i = 0;$i
That's where I get $query from. It's been returned from a multiple
select via a web form. I want to format this selected data into a query
string so I can plug it into a SQL statement.
Thanks for the input and if any one has any thoughts on the subject
appreciate the assistance.
If this
H-
Thanks for the emails and reply.
Someone mentioned substr and after first failing with the attempt I went
to the PHP site and looked it up.
Here's code that works for what I'm trying to do.
$test = "tree, bird, nest, ";
$new = substr($test, 0, strlen($test)-2);
$new = "$new ";
In a message dated 29/03/2001 21:42:57 GMT Daylight Time,
[EMAIL PROTECTED] writes:
If you have permission to modify php.ini, see the setting "display_errors"
and the attached comments. You can tell PHP to write these error messages to
a log file instead of to the browser.
Kirk
If I
Yes, the php.ini files is read when apache start.
py
At 03:53 PM 3/29/01 -0500, you wrote:
In a message dated 29/03/2001 21:42:57 GMT Daylight Time,
[EMAIL PROTECTED] writes:
If you have permission to modify php.ini, see the setting "display_errors"
and the attached comments. You can tell
Hi,
I'm using IE 5.01 to upload a big (~50MB) file to a form.
The form works well for small files.
If I try a big file, IE timeout after 30 seconds
saying "cannot find server or DNS error"
This same exact php code works for small files...
I've modified php.ini to
max_execution_time = 120
Hi,
i have a mysql table with the fields name and categorie.
on my page search.php is a search mask where the visitor
can insert a miscellaneous keyword.
this keyword should be the categorie.
basicly, how can i handle the problem,
that the visitors keyword shows an output with all
the entrys
This is set by max_execution_time, did you restart apache to re-read your
php.ini file?
Clayton Dukes
-
Download Free Essays, Term Papers and Cisco Training from http://www.gdd.net
- Original Message -
From:
chagenbuThu Mar 29 12:11:37 2001 EDT
Modified files:
/php4/pear/Mail RFC822.php
Log:
indentation
Index: php4/pear/Mail/RFC822.php
diff -u php4/pear/Mail/RFC822.php:1.5 php4/pear/Mail/RFC822.php:1.6
--- php4/pear/Mail/RFC822.php:1.5 Sat Mar
Hi Clayton,
As I was writing, I confirmed every variable change
by a phpinfo() page.
Yes, to enforce changes in the php.ini file,
I stop and start the whole apache...
-Original Message-
From: Clayton Dukes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 1:18 PM
Also consider something like :
?php
$var = 'a,b,c,';
$var[strrpos($var,',')] = ' ';
print $var; // 'a,b,c '
?
The idea behind it is similar to this :
?php
$s = 'abcabc'; // define our string
$s[1] = 'z';// change second character in $s to 'z'
Hi,
I'm doing the exact same thing as you and I got the exact same problem. After
getting almost crazy with trying everything possible to run a script as root,
someone told me that I'm limited to the server permission. So I decided to
simply create a java deamon wich run as root. This deamon
Hello,
You can use set_time_limit(); at the top of your script to set the max time
limit. set_time_limit(0); will let it go forever, as I do not recommend
this until you test the script and know the it doesn't have an endless loop
or what not.
example:
?
set_time_limit(0);
echo "test";
?
555 W. University Suite 2, Mesa, Arizona 85205
Hi,
Im looking for a shipping model
that we can use to integrate into our shopping cart. Does anyone know of any?
Thanks
Craig Cameron
-
Apex Digital
Phone: (480)
I do a similar thing on my machines, only instead of having a java daemon
that runs as root I chose to create a database that the php script can
insert user and other information into, then a perl script that is called
from cron that fetches from the database and does the necessary user adds.
uw Thu Mar 29 12:58:37 2001 EDT
Modified files:
/php4/pear/Experimental/HTMLMenu_Browser.php
Log:
- Added an optional prefix for menu entries
Index: php4/pear/Experimental/HTML/Menu_Browser.php
diff -u
What is the layout of your table, the names of fields etc.
By the way, is it just one table?
If you provide me with this information, I think I will be able to solve
your problem...
// Tobias
""Denis Mettler"" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi! I have this weird thing happening here and I just can't see the problem.
Can someone look at this and tell me if you see what is wrong?
Below is a code snippet I am using and the output from the code. As can
be seen in the output all the $config[*] stuff are set. The if statement still
Is there a better way to write the following snippet:
if ($priority == "000") {
$fcol="high";
$pstr .= "option value=\"000\" selectedHigh\n";
$pstr .= "option value=\"050\"Medium\n";
$pstr .= "option value=\"100\"Low\n";
} elseif ($priority == "050") {
One thing I would do different is:
switch ($fcol){
case 000:
break;
case 050:
break;
default:
break;
}
To me the switch/case code is easier to read/maintain.
I know that doesn't actually solve your repetition problem but it will make
it a little easier to look at.
John Guynn
This email
you can use switch statements:
switch($priority){
case 000:
code here
break;
case med:
more code
break;
default:
in case none match use default
}
-jack
"Ashley M. Kirchner" wrote:
Is
-Original Message-
From: Philip Hallstrom [mailto:[EMAIL PROTECTED]]
Subject: Re: [PHP] problem uploading big (50MB) file
Try replacing "100M" with it's byte equivalent. Or maybe it's
kilobytes. One on of my systems they had "2M" and it wouldn't upload
anything cause it didn't
Hi all,
We're all familiar with the skanky little box the web browser pops up to
get your username/password in response to a 401 from the web server. What
I want is the same functionality, except through a login web page instead.
I know how cookie-based or session-based logging in works with
-Original Message-
From: Ashley M. Kirchner [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 1:56 PM
To: PHP-General List
Subject: [PHP] Better way (if...elseif...else)
Is there a better way to write the following snippet:
if ($priority == "000") {
this tutorial may help :
http://zend.com/zend/tut/authentication.php
regards,
philip
On Thu, 29 Mar 2001, Les Neste wrote:
Hi all,
We're all familiar with the skanky little box the web browser pops up to
get your username/password in response to a 401 from the web server. What
I want
I see one typo, is that the problem?
Kirk
Hi! I have this weird thing happening here and I just can't
see the problem.
Can someone look at this and tell me if you see what is wrong?
Code
print isset($config["harvester_list"]) ."\n1\n";
print
uw Thu Mar 29 13:26:53 2001 EDT
Modified files:
/php4/pear/Experimental/XML fo2pdf.php sql2xml.php sql2xml_ext.php
Log:
- added basic phpdoc doc comments
- lots of whitespaces
- renamed functions from get_xy to the PEAR getXY
Chregu, sorry for this
I'm having a problem with using cookies and flash.
When I pointed that the problem was _with_ cookie and flash, is when I
resolv the same program using a pure HTML interface.
The exact problem, is that the session number, keep on changing when
working with the flash interfase. This flash
uw Thu Mar 29 13:49:15 2001 EDT
Added files:
/php4/pear/HTML IT_Error.php
Modified files:
/php4/pear/HTML IT.php ITX.php
Log:
- Pearified the error handling
Index: php4/pear/HTML/IT.php
diff -u
What are you wanting to print? Here's a set of examples that may help
understand what's happening with your code. In short, isset() is not
being used properly.
// if $var is set, this will return 1. if not set then it will return 0.
// essentially, you don't want to print this directly as
-Original Message-
From: Morgan Curley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 2:52 PM
To: PHP-General List
Subject: RE: [PHP] Better way (if...elseif...else)
Make sure you reset $selected at the end of the while loop.
OoPs! Yes, reset $selected, haha.
if
Arrrgh,
Something went haywire with my site a little while
ago, can somebody tell me why I'm getting:
Warning: Failed opening 'themes/JET/theme.php' for
inclusion
Heh,
Thanks.
Btw, the web site I'm trying so frantically to fix has all the study materials for the
Cisco Certs, free of course :-)
http://www.gdd.net
Clayton Dukes
CCNA, CCDA, CCDP, CCNP
Internetwork Solutions Engineer
Internetwork Management Engineer
Thrupoint, Inc.
Tampa, FL
(c)
does anyone know how to pass values in javascript variables to php
variables?? Or a workaround if no direct solution...
--
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
what exactly are you trying to do? pass variables to a php script? then
use a form with POST or GET...not that simple? describe better what
you're doing then...
-jack
cam k wrote:
does anyone know how to pass values in javascript variables to php
variables?? Or a workaround if no direct
Did the permissions get changed to something that nobody can no longer read?
Kirk
- Original Message -
From: Clayton Dukes
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, March 29, 2001 6:06 PM
Subject: [PHP] Help!
Arrrgh,
"Jacky" [EMAIL PROTECTED] wrote:
I have a vairable that stores email address value. I need to break it so
that I will only get the dmain name bit to store in another variable so
that
I can redirect user to that domain, like if user email is [EMAIL PROTECTED]
then I would like to break that
Hi,
I'm new to PHP (well I used it years ago), and have been using Perl ever
since.
Someone told me that PHP is a lot more efficient than Perl, is this true ? I
am developing a fairly large website using a MySQL database running on a
cobalt RAQ3 server and so the speed of the scripts must be
hi,
the best way to do this from a webserver (apache module) is to make php
write some script that crond later executes as root (or some other user).
anyway, you should triple check everything for security bugs... and
three times isn't enough :)
regards,
Nuno Silva
Brandon Orther wrote:
what exactly are you trying to do? pass variables to a php script? then
use a form with POST or GET...not that simple? describe better what
you're doing then...
-jack
cam k wrote:
ok, I'll explain this a little better, bear with me. I have several forms
in different frames and one particular
Yes,
I've got it now.
Scared the crap out of me
I must have typo'd on a perm change, man that'll ruin your friggin day!
Clayton Dukes
CCNA, CCDA, CCDP, CCNP
Internetwork Solutions Engineer
Internetwork Management Engineer
Thrupoint, Inc.
Tampa, FL
(c) 904.477.7825
(h) 904.292.1881
-
uw Thu Mar 29 13:54:27 2001 EDT
Added files:
/php4/pear IT[X].xml
Modified files:
/php4/pear package.dtd
Log:
- Added a package xml file for IT[X] templates
Index: php4/pear/package.dtd
diff -u php4/pear/package.dtd:1.2
David Hynes wrote:
Hi,
I'm new to PHP (well I used it years ago), and have been using Perl ever
since.
Someone told me that PHP is a lot more efficient than Perl, is this true ? I
am developing a fairly large website using a MySQL database running on a
cobalt RAQ3 server and so the
You could use sessions with arrays...there's been a discussion recently
about arrays in sessions, and some good sample code...checkout the list
archives...
if you didn't want to use sessions you could just keep passing one large
array to your different php scripts and then passing that into your
uw Thu Mar 29 14:01:52 2001 EDT
Modified files:
/php4/pear package.dtd
Log:
- uuups, modified the package.dtd, undo
Index: php4/pear/package.dtd
diff -u php4/pear/package.dtd:1.3 php4/pear/package.dtd:1.4
--- php4/pear/package.dtd:1.3 Thu Mar 29
So, I went back through my command line history and found the culprit, if
anyone's interested
I typed:
chmod 666 file.php *
When I should have typed
chmod 666 file.php*
Damn, I love Unix :-)
Clayton Dukes
CCNA, CCDA, CCDP, CCNP
Internetwork Solutions Engineer
Internetwork Management
i know for multiple type values you can pass an array of info like this:
input type="text" name="array[]"
someone also recently posted something about this and passing an array;
try a search for that...
the other possibility is to just pass a long string with | as separators
then explode it later
I wouldn't expect a programmer to walk in off the street and try to do
graphic design without having any concept of graphic design.
ack! i do this very thing! one reason i rely on css and tables rather
then graphics, that and it means less hits on my server :-)
regarding this thread,
On Thu, 29 Mar 2001 21:18, Martin E. Koss wrote:
I have been trying to get a new column added to a table (vips) via a
PHP script, but having exhausted all the things I can find, I'm still
struggling. I've referred to TFM for all those who just can't wait to
tell me
to do so, and I believe my
Hello,
Is it possible to have PHP resize an image on the server?
Example.
If I upload a JPG file at about 40KB at 600x480 Resolution, but I only want
to display it as a small thumbnail. But if clicking the thumbnail it then
opens in a new window the full size version.
I have seen a auction
Perhaps i'm not following what you're trying to do, but why not
manipulate the height/width img tag attributes to make it look like a
thumbnail, but then when displaying it for real, take them out? there
definitely have been posts about this (as usual, check the archives) and
i'm sure a little
On Fri, 30 Mar 2001 09:20, Clayton Dukes wrote:
So, I went back through my command line history and found the culprit,
if anyone's interested
I typed:
chmod 666 file.php *
When I should have typed
chmod 666 file.php*
Damn, I love Unix :-)
Be thankful it was chmod, not something
Perhaps i'm not following what you're trying to do, but why not
manipulate the height/width img tag attributes to make it look like a
thumbnail, but then when displaying it for real, take them out?
Because then you have to download the entire large image.
Large images are bigger. :)
Jason
ok, so then read the image in using php's image functions, and use
imagecopyresized...you'll even find a post about thumbnails...
http://www.php.net/manual/en/function.imagecopyresized.php
-jack
Jason Murray wrote:
Perhaps i'm not following what you're trying to do, but why not
Using a GD that has GIF support, you can do this
?php
// we expect $scale and $image to be defined, having been passed to us via
// query string, e.g. http://www.foo.com/img.php3?image=test.gifscale=4
// create an image object from the source file
$srcImg =
HI
I have a directory that works like this.
The owner of each listing in the directory clicks on a little box
that appears before their name and info in the directory.
An Enter User Name and Password page is shown ( a simple form, can
look as you like)
The imbedded listing number is
MG PUBLISHING
4865 HWY 138,R.R 1
ST-ANDREWS WEST
ONTARIO, KOC 2A0
1-800-301-8093
http://www.mgpublishing.net
PRESS RELEASE
CANADIAN SUBSIDY DIRECTORY YEAR 2001 EDITION
Legal Deposit-National Library of Canada
ISBN 2-922870-01-4..49.95
M.G.
On Thu, 29 Mar 2001 23:35, Peter Van Dijck wrote:
How do I rewrite 1 line in a file? I got the filename and the
linenumber. i was playing around with fwrite but to find the line I had
to do all sorts of gymnastics, I'm sure there must be a more elegant
way...
thanks for any hints!
Peter
In
$val = array("000","050","100");
$val_name = array("Low","Medium","High");
$count = count($val);
$counter = 0;
while ($counter $count)
{
if ($val[$counter] == $priority)
{
$selected = " selected";
}
echo "option
value=\"$val[$counter]\"$selected$val_name[$counter]/option";
Where can I find a GD with GIF support (the new one only supports JPEG and
PNG)
Regards,
Pablo
""YoBro"" [EMAIL PROTECTED] escribió en el mensaje
9a0k9b$hdp$[EMAIL PROTECTED]">news:9a0k9b$hdp$[EMAIL PROTECTED]...
Hello,
Is it possible to have PHP resize an image on the server?
Example.
What is the best method for tracking a user through a website ?
I want to assign a username to a user which I can call up at anytime.
Should I use htaccess files and the systems environment variables, or
cookies ?
Cheers,
David.
---
Fed202 Solutions
www.fed202solutions.com
-Original Message-
From: Stephan Ahonen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 5:20 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Better way (if...elseif...else)
$val = array("000","050","100");
$val_name = array("Low","Medium","High");
$count = count($val);
Try this:
http://hotwired.lycos.com/webmonkey/00/05/index2a.html
Jeff Oien
PHP start here
http://www.webdesigns1.com/php/
What is the best method for tracking a user through a website ?
I want to assign a username to a user which I can call up at anytime.
Should I use htaccess files and
I am reading in a comments file from a Perl program I have been using, and I
will be converting the comments' text files into a MySQL database...but that
is unimportant. In the files, I have something (after i strip_tags()) like
this:
##
$file = "
# 4
Name:
In article 9a0jpq$9bg$[EMAIL PROTECTED],
[EMAIL PROTECTED] ("Stuart J. Browne") wrote:
After being eye-ball deep in documentation 8 hrs a day trying to learn how
to do things with MySQL, Interbase, PHP, and CSS.. This list certinaly is a
god-send. Not only do questions that are posted GET
Doesn't the command return 1 or 0 in success or failure?
Not 1 or 0. It returns 0 or some other value. Almost the same,
but not quite.
You may not have a result
Probably wrong but something like
if (mysql_query($query)) {
} else {
}
or you could die out mysql_query($query) or
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] ("David Balatero") wrote:
So, I guess i need a regexp to remove all the
\n and :space: chars.
Here are some ideas:
$out=preg_replace("/\s+/","",$in); //strip whitespace
or
$out=preg_replace("/\s+/"," ",$in); //replace whitespace with single
After being eye-ball deep in documentation 8 hrs a day trying to learn
how
to do things with MySQL, Interbase, PHP, and CSS.. This list certinaly
is a
god-send. Not only do questions that are posted GET ANSWERED (questions
i've asked in other groups have a tendancy to go un-answered
why do MS SQL reports errors so poorly on PHP?
you can do anything with those errors, they're useless... and the worse
part is the actual important part of the error is in the warning, and not
on the contents of mssql_get_last_message(), where they should be...
and, worse... mssql_query()
-Original Message-
From: Christian Dechery [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 6:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP] MS SQL errors...
why do MS SQL reports errors so poorly on PHP?
you can do anything with those errors, they're useless... and the
I have a document with !--ktalk newpost-- in it, which I want to KEEP in
the document. (it's being read into $fp). How can I use strip_tags() to
remove all tags, but keep !--ktalk newpost-- in the document? I tried
$filedata = strip_tags($filedata, "!--ktalk newpost--");
Then re-writing it to
Hi,
i was just wondering what you guys do to check if a wquery suceeded or not?
I know about mysql_num_rows() and mysql_affected_rows(), just wondered what
you guys do?
I normally do something like:
$sql = "SELECT something FROM table";
$result = mysql_query($sql);
if(@mysql_num_rows($result)
What about:
$sql = "SELECT something FROM table";
$result = mysql_query($sql) or die ("Query failed!");
do_something(); //the query has succeeded if we get to this line
HTH
Jon
-Original Message-
From: Jordan Elver [mailto:[EMAIL PROTECTED]]
Sent: 29 March 2001 12:00
To: PHP Database
i was just wondering what you guys do to check if a wquery
suceeded or not?
I know about mysql_num_rows() and mysql_affected_rows(), just
wondered what
you guys do?
I do this:
$result = mysql( $dbname, $query );
if(( $result ) ( mysql_errno() == 0 )) {
// query was successful
if(
On Thursday, March 29, 2001, at 08:32 AM, Nick Davies wrote:
Doesn't the command return 1 or 0 in success or failure?
You may not have a result
Probably wrong but something like
if (mysql_query($query)) {
} else {
}
What I understand is that the return from the query only tells you
Doesn't the command return 1 or 0 in success or failure?
You may not have a result
Probably wrong but something like
if (mysql_query($query)) {
} else {
}
or you could die out mysql_query($query) or die
On Thu, 29 Mar 2001, Boget, Chris wrote:
i was just wondering what you
Doesn't the command return 1 or 0 in success or failure?
Not 1 or 0. It returns 0 or some other value. Almost the same,
but not quite.
You may not have a result
Probably wrong but something like
if (mysql_query($query)) {
} else {
}
or you could die out mysql_query($query) or die
trying to get Apache to compile with this keeps failing, complaining about
"alloc.h" it seems. I notice that apache calls it "ap_alloc.h" now, but the
only reference in mod_auth _mysql is in:
apMakefile.tmpl: $(INCDIR)/alloc.h $(INCDIR)/buff.h \
but changing that doesn't fix the problem...
set_value($variable,$value)
{
$variable=value;
}
"Warning: Call-time pass-by-reference has been deprecated - argument passed
by value; If you would like to pass it by reference, modify the declaration
of [runtime function name](). If you would like to enable call-time
I am using the apache_lookup_uri function and I am having a problem.
I have PHP4 as an Apache module.
If I give the command:
$link = "http://www.mysite.com/";
$lookup_results = apache_lookup_uri($link);
And I output:
echo $lookup_results-uri;
echo $lookup_results-status;
I get:
Ok, i have a text file with lines that looks like this:
14```value```value2`value3
This would be fine, except...there are sometimes more than in other
columns, so id like it to be
14``value``value2``value3
So I can explode() it into a mysql database. Can anyone offer a regexp for
Hello,
For some reason I am now having real difficulties removing and parsing some XML
files. I think that if I can just strip out the ? ? that I should be able
to parse the XML (.CDF) file. This should do it:
$pagetext = eregi_replace('?','',$pagetext);
$pagetext =
On Fri, 30 Mar 2001 14:34, Mike Gifford wrote:
Hello,
For some reason I am now having real difficulties removing and parsing
some XML files. I think that if I can just strip out the ? ? that
I should be able to parse the XML (.CDF) file. This should do it:
$pagetext =
Here is the scenario:
I want to let my users download their history of transactions from a mysql
database. I have that part working...they click a link a csv file is
created for them to download. now here is my question.
Is there a way to have the file delete after they have downloaded it?
adaniel Thu Mar 29 21:30:58 2001 EDT
Modified files:
/php4/pear/HTML Table.php
Log:
minor change to toHtml
Index: php4/pear/HTML/Table.php
diff -u php4/pear/HTML/Table.php:1.5 php4/pear/HTML/Table.php:1.6
--- php4/pear/HTML/Table.php:1.5Fri Mar 23
I'm not sure of the exact term, but what I want todo is run a function
in a loop so that it doesn't wait for the function to finish and goes
ahead and executes the next in loop.
For example:
?
for($i=1; $i5; $i++) {
run_this();
}
?
run_this may contain some long mathematical computations
Philip Olson wrote:
This place :
http://www.ultraedit.com/downloads/additional.html
Has very weak PHP representation.
I know, that's why I started working on a new wordfile.txt, based upon
one of theirs.
Want to round up some ideas and upgrade this section as a hole?
Hm, why make
adaniel Thu Mar 29 21:32:21 2001 EDT
Modified files:
/php4/pear/HTML Common.php
Log:
added a few methods to manipulate attributes
Index: php4/pear/HTML/Common.php
diff -u php4/pear/HTML/Common.php:1.7 php4/pear/HTML/Common.php:1.8
---
101 - 200 of 214 matches
Mail list logo