Chris Williams wrote:
I am using PHP on Windows NT CGI/FastCGI and am trying to create a text
file and then write some data to it.
$some_text = HelloWorld;
$new_file = fopen(myfile.txt, w);
fputs($new_file, $some_text);
fclose($new_file);
However I am getting Warning: fopen(myfile.txt): failed
* Thus wrote Shawn McKenzie ([EMAIL PROTECTED]):
Guess no ones has a clue. I didnt get a RTFM or anything.
Try running php like so:
php -doutput_buffering=0 phpfile.php
Curt
--
My PHP key is worn out
PHP List stats since 1997:
http://zirzow.dyndns.org/html/mlists/
--
PHP General
#The problem:
This is about protecting my PHP from bad input (e.g.: letters instead of
numbers).
##
Is there a way to prevent user from even inputting a letter in a text box?
Thanks in advance
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Tue, Nov 18, 2003 at 06:00:12PM -0800, b b wrote:
:
: No I am saying that if you have:
: input type name = w1 value = lkjlkjlj
: input type ... name =w2
:
: and you click submit then if you click back to see
: the form the value you set w2 will be blank. If you
: reverse the order
On Wed, Nov 19, 2003 at 08:18:32AM +0100, Miroslav I. wrote:
:
: #The problem:
: This is about protecting my PHP from bad input (e.g.: letters instead
: of numbers).
Good idea. You need to make sure user-inputted data is valid.
: ##
: Is there a way to prevent user from even inputting a letter
Thanks Eugen,
I'm familiar with the concepts, but I've seen sites with textboxes that
would not show any letter typed - only numbers are displayed in the textbox.
This is what I like but don't know how to achieve. :-)
: #The problem:
: This is about protecting my PHP from bad input (e.g.:
On Wed, Nov 19, 2003 at 10:21:16AM +0100, Miroslav I. wrote:
:
: I'm familiar with the concepts, but I've seen sites with textboxes
: that would not show any letter typed - only numbers are displayed in
: the textbox. This is what I like but don't know how to achieve. :-)
Base on what I
PHP Version: 4.2.2
Hi
I had a problem with my session name.
In the php.ini, was set the default name PHPSESSID from the default
installation. Now i have the problem, that i use the name audience for
my webapplikations with PHPope (http://www.phpope.org)
I Set the name in the script with the
Hi everyone,
What is the quickest and easiest way to enable access to a MS SQL database
from a Linux server (using PHP functions ofcourse), seeing as the MSSQL
extension is available on Win32 systems only.
Thanks
Fern
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Fernando Melo wrote:
Hi everyone,
What is the quickest and easiest way to enable access to a MS SQL database
from a Linux server (using PHP functions ofcourse), seeing as the MSSQL
extension is available on Win32 systems only.
ODBC
--
Burhan Khalid
phplist[at]meidomus[dot]com
Hi there,
I would like to create a multilanguage website with php. I heared the
easiest way is to create an xml file and use this package:
http://freshmeat.net/projects/php-xml/?topic_id=92%2C96%2C914
This still looks complicated for me, beside the fact that it depends on
an external package.
Merlin wrote:
Hi there,
I would like to create a multilanguage website with php. I heared the
easiest way is to create an xml file and use this package:
http://freshmeat.net/projects/php-xml/?topic_id=92%2C96%2C914
This still looks complicated for me, beside the fact that it depends on
an
I use PEAR db
http://pear.php.net/manual/en/package.database.php
http://pear.php.net/manual/en/package.database.db.intro-dsn.php
this is included with the php distibution and makes swapping databases a
doddle
pete
Fernando Melo wrote:
Hi everyone,
What is the quickest and easiest way to enable
mgraf wrote:
PHP Version: 4.2.2
Hi
I had a problem with my session name.
In the php.ini, was set the default name PHPSESSID from the default
installation. Now i have the problem, that i use the name audience for
my webapplikations with PHPope (http://www.phpope.org)
I Set the name in the
PHP Version 4.3.3
Ok i have disabled the autostart. Now is my problem, that php us the
transparent sessions, because it append it in the URL. After the login,
all works fine, but after 5-6 clicks, i loose the session.
It send me a Cookie :
Set-Cookie: audience=a01b3fcf7cb587eee3ac61bc83edebe4;
Dear All,
I was going to ask you how can I run a .php file using IIS.
IIS and PHP, and a virtual directory are already installed.
Thanks,
Christos Papadogoulas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Maybe this will help. I just made it:
class XMLParser {
var $depth = 0;
var $parser;
var $text;
var $cdata = array();
function XMLParser() {
$this-parser = xml_parser_create();
xml_set_object($this-parser, $this);
xml_parser_set_option($this-parser,
The 'sample.xml' file:
?xml version=1.0?
root
ingrediens no=1
ingrediensnummer1234/ingrediensnummer
maengde3,4/maengde
enhedkg/enhed
/ingrediens
ingrediens no=2
ingrediensnummer x=212345/ingrediensnummer
maengde3,1/maengde
enhedt/enhed
/ingrediens
/root
Victor
[snip]
I was going to ask you how can I run a .php file using IIS.
IIS and PHP, and a virtual directory are already installed.
[/snip]
I was going to give you an answer. Have you read and followed the
directions here http://us2.php.net/windows ?
--
PHP General Mailing List
Maybe this will help. Just made it (nedded it myself) and I saw your post.
?php
class XMLParser {
var $depth = 0;
var $parser;
var $text;
var $cdata = array();
function XMLParser() {
$this-parser = xml_parser_create();
xml_set_object($this-parser, $this);
Hi,
This is probably more of a javascript question but thought someone here
might have an answer.
I have a form in a pop up windoe I want this form data to be submited to the
window that opened the popup - how can I do this? I have tried setting the
target attribute on the form tag to
Wouter Van Vliet [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
First of all, you said to use the first three values of the array for
anoter
reason .. well the, what I'd do is this:
$FirstThree = array_splice($_POST, 0, 3);
Which will give you the first three elements of the
[snip]
This is probably more of a javascript question but thought someone here
might have an answer.
I have a form in a pop up windoe I want this form data to be submited to
the
window that opened the popup - how can I do this? I have tried setting
the
target attribute on the form tag to
Matthew Oatham wrote:
Hi,
This is probably more of a javascript question but thought someone here
might have an answer.
I have a form in a pop up windoe I want this form data to be submited to
the window that opened the popup - how can I do this? I have tried
setting the target attribute on
mgraf wrote:
PHP Version 4.3.3
Ok i have disabled the autostart. Now is my problem, that php us the
transparent sessions, because it append it in the URL. After the login,
all works fine, but after 5-6 clicks, i loose the session.
It send me a Cookie :
Set-Cookie:
On 19 November 2003 12:59, David Strencsev contributed these pearls of wisdom:
Wouter Van Vliet [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
First of all, you said to use the first three values of the
array for
anoter
reason .. well the, what I'd do is this:
$FirstThree =
Well, I've, and I also have to say that the XML-support in PHP lacks
any usability
I am sorry to say this but the above comments indicates a lack of
understanding about xml, xml parsing and PHP. The php xml parser is
based on expat. expat was written by james clark a person who worked on
some
So what do I need hearing it for ?
I just answered the guy (what he needed was help, not punches slaps from
wiseguys).
Raditha Dissanayake [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Well, I've, and I also have to say that the XML-support in PHP lacks
any usability
I am
Thanks again but here's what happens when I run that.
The form box appears.
I select an option.
I hit submit.
The page that loads says:
Warning: Invalid argument supplied for foreach() in
c:\apache\htdocs\session_yyy.php on line 13
I then hit the link:
Back to content page.
The form box
Dear All
Is there a mail function or object that I can use on my PHP sites that does
the same as the CDONTS object in ASP? Where can I find some tutorials on
this subject?
Regards
Jacques
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am using PHP 4.3.4 and am trying to come up with a function that will
step through the alphabet so that I get a menu/links that can be clicked on
like below:
a href=?action=alphabetletter=AA/a
a href=?action=alphabetletter=BB/a
a href=?action=alphabetletter=CC/a
etc...
I am sure that
[snip]
Is there a mail function or object that I can use on my PHP sites that
does
the same as the CDONTS object in ASP? Where can I find some tutorials
on
this subject?
[/snip]
The manual works fine for most http://www.php.net/mail
--
PHP General Mailing List (http://www.php.net/)
To
Maybe you can try this
for ($letter = 'A'; $letter++; $letter = 'Z')
echo a href=\?action=alphabetletter=$letter\$letter/a\n;
Hope this helps
Steve Buehler wrote:
I am using PHP 4.3.4 and am trying to come up with a function that
will step through the alphabet so that I get a menu/links that can
[snip]
I am using PHP 4.3.4 and am trying to come up with a function that will
step through the alphabet so that I get a menu/links that can be clicked
on
like below:
a href=?action=alphabetletter=AA/a
a href=?action=alphabetletter=BB/a
a href=?action=alphabetletter=CC/a
etc...
[/snip]
Matthew Oatham wrote:
Hi,
This is probably more of a javascript question but thought someone here
might have an answer.
I have a form in a pop up windoe I want this form data to be submited to
the window that opened the popup - how can I do this? I have tried
setting the target attribute on
Thanks that was my problem :-)
On Wed, 19 Nov 2003, Marek Kilimajer wrote:
The first parameter is relative to the current time. I would recomend
for security reasons to leave this to the default, 0 - until the browser
is closed. Otherwise this could lead to session hijacking - when the bad
I put some text from my mysql-db into images(jpeg and png) that I build on
the fly. When I do this I have som problem with norwegian spesial charakter,
they dont show properly in the images. If I put the same text directly to
the browser window this will show correctly.
What do I need to do to get
hello all ,
I'm able to get successfully http authenticated from my php scripts
Ex :
$header = POST /myscript.php HTTP/1.0\r\nAuthorization: Basic ;
$header .= base64_encode($username:$password).\r\n;
$header .= Content-type: application/x-www-form-urlencoded\r\n;
Sophie Mattoug wrote:
Maybe you can try this
for ($letter = 'A'; $letter++; $letter = 'Z')
echo a href=\?action=alphabetletter=$letter\$letter/a\n;
Hope this helps
The for loop is backwards
for ($letter = 'A'; $letter = 'Z'; $letter++)
However, I don't think that will work, you probably
[snip]
for ($letter = 'A'; $letter++; $letter = 'Z')
echo a href=\?action=alphabetletter=$letter\$letter/a\n;
[/snip]
I tested this and found two small problems. The code works if you do
this (I was myself amazed that letters would increment)
for($letter = 'A'; $letter 'Z'; $letter++){
Hi,
But the above is not working when the $username contains a trailing
semicolon
or when the $password is starting with a semicolon,
Ex: what if the $username =chandu:
Is there any solution for this ?
You could use str_replace to strip those before they get used.
-Dan Joseph
--
I think I can remember semi-colon is not allowed in apache logins or
passwords...
Chandu Nannapaneni wrote:
hello all ,
I'm able to get successfully http authenticated from my php scripts
Ex :
$header = POST /myscript.php HTTP/1.0\r\nAuthorization: Basic ;
$header .=
[snip]
I think I can remember semi-colon is not allowed in apache logins or
passwords...
But the above is not working when the $username contains a trailing
semicolon
or when the $password is starting with a semicolon,
Ex: what if the $username =chandu:
[/snip]
Or colons. It is a Bad
Yes, I found that the loop was written kind of backwards and would create a
never ending loop. I never thought to try setting $letter='A' before. I
didn't think you could loop through the Alphabet like that. But I did a
little changing to your loop and it works fine like this now:
YES That is the kind of code that I was looking for. I never thought
you could do it like that either. Meaning putting 2 things to do
($letter++ and $i++) into the loop in this fashion. This looks so much
cleaner to me. Here is my final function now.
for($letter = 'A', $i = 0;
I was hoping for something that looked (at least to me) a little
cleaner. Someone else gave me the answer and here is my final code that
works out just great for me.
for($letter = 'A', $i = 0; $i = 25; $letter++, $i++ ){
echo a
Jay Blanchard wrote:
Or colons. It is a Bad Practice[tm] to use any special characters in
user names and/or passwords. It is not universally allowed from OS to OS
I disagree with this : special characters are useful to have better
passwords (more difficult to crack), but as apache stores the
I tested this and found two small problems. The code works if you do
this (I was myself amazed that letters would increment)
But is that a bug? Or a feature?
You could also do this, which would probably be more universal:
// 65 through 90 for upper case
// 97 through 122 for lower case
for(
its probably because its possible to authenticate with an url ?
eg
http://name:[EMAIL PROTECTED]
Chandu Nannapaneni wrote:
hello all ,
I'm able to get successfully http authenticated from my php scripts
Ex :
$header = POST /myscript.php HTTP/1.0\r\nAuthorization: Basic ;
$header .=
Hi all,
I m sendig out HTML email, using mimemail class which encodes the whole message to be
sent in base64 and Content-Transfer-Encoding: is also specified as base64 only.
Now one of my client is complaining that he is getting garbage in the email (shown
below) after the sign up process in
Evan Nemerson wrote:
On Tuesday 18 November 2003 01:13 pm, Jas wrote:
Curt Zirzow wrote:
* Thus wrote Jas ([EMAIL PROTECTED]):
I am not sure if I should post my question here but I will anyways.
Ok, I have compiled the mcrypt libraries on a Redhat 9 box running
apache 2 with php4. And I need
From: Papadogoulas Christos [EMAIL PROTECTED]
I was going to ask you how can I run a .php file using IIS.
IIS and PHP, and a virtual directory are already installed.
I would suggest you actually make an attempt at installing PHP according to
the directions in the manual...
How would I count the number of elements in an array that had a certain
value?
In other words, if I have
$fruit = array(orange,orange,apple,bananna,orange,apple,pear);
How could I get the number of elements from $fruit where the value is
orange?
Thanks,
Jeff
--
PHP General Mailing List
$i = 0;
foreach ($fruit as $k)
if ('prange' == $k)
$i++;
(The result is $i, of course)
Jeff McKeon wrote:
How would I count the number of elements in an array that had a certain
value?
In other words, if I have
$fruit = array(orange,orange,apple,bananna,orange,apple,pear);
How could I get
[snip]
How would I count the number of elements in an array that had a certain
value?
In other words, if I have
$fruit = array(orange,orange,apple,bananna,orange,apple,pear);
How could I get the number of elements from $fruit where the value is
orange?
[/snip]
http://www.php.net/array_keys
--
Can anyone recommend a good, simple PHP-only polling script?
I have a non-profit with no money that wants people to be able to select
one from a range of candidates, and then see the total number of votes,
the percentage breakdown and probably a histogram or a bar graph showing
the most
thanks all for your help, will try it out now
manisha
Manisha Sathe [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I want the session to be accessed from different websites, so i got the
answer in this forum only to make use of customised session with mysql.
I searched the web and
On Wednesday 19 November 2003 23:24, Jeff McKeon wrote:
How would I count the number of elements in an array that had a certain
value?
In other words, if I have
$fruit = array(orange,orange,apple,bananna,orange,apple,pear);
How could I get the number of elements from $fruit where the value
Hi:
I read on the docs that array_diff and array_intersect were broken on
4.0.4. Does this mean that there is a best method to do it?
Manu.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 19 November 2003 14:25, Jay Blanchard contributed these pearls of wisdom:
[snip]
for ($letter = 'A'; $letter++; $letter = 'Z')
echo a
href=\?action=alphabetletter=$letter\$letter/a\n;
[/snip]
I tested this and found two small problems. The code works if
you do this (I was myself
[snip]
'Z'+1 is defined to be 'AA' (it says that in the manual, too!), so your
loop has to be:
for($letter = 'A'; $letter = 'AA'; $letter++){
echo $letter . \n;
}
[/snip]
Run this, you'll be surprised at what you get.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On 19 November 2003 16:15, Jay Blanchard contributed these pearls of wisdom:
[snip]
'Z'+1 is defined to be 'AA' (it says that in the manual,
too!), so your loop has to be:
for($letter = 'A'; $letter = 'AA'; $letter++){
echo $letter . \n;
}
[/snip]
Run this, you'll be
[snip]
OK, my bad -- I let my fingers do the talking without proper monitoring
from
my brain. This is what I actually use in more than a few scripts:
for ($c='A'; $c!='AA'; $c++):
echo $c;
endfor;
I just forgot to change the comparison from = to !=
I guess this
Below is some code, I've written, where I'm trying to do the following...
1. Display a text box, for a user to enter a number of email addresses,
seperated by a comma.
2. take that value, split it based on the comma and place that vlaue into
an array.
3. Count the No of elements in the array
4.
Jason Wong wrote:
On Wednesday 19 November 2003 23:24, Jeff McKeon wrote:
How would I count the number of elements in an array that had a
certain value?
In other words, if I have
$fruit = array(orange,orange,apple,bananna,orange,apple,pear);
How could I get the number of elements from
On Thursday 20 November 2003 00:33, Jeff McKeon wrote:
Jason Wong wrote:
On Wednesday 19 November 2003 23:24, Jeff McKeon wrote:
How would I count the number of elements in an array that had a
certain value?
In other words, if I have
$fruit =
[snip]
if ($action == 'send') {
$fimail[] = explode(,, $list);
$count = count($fimail[]);
$show = bUsers that have been mailed:/bbr;
$i = 1;
while ($count $i) {
mail($fimail[], Subject, $message, $headers);
$show .= br$fimail;
$i++;
}
}
You have started a new thread by taking an existing posting and replying to
it while you changed the subject.
That is bad, because it breaks threading. Whenever you reply to a message,
your mail client generates a References: header that tells all recipients
which posting(s) your posting refers
[snip]
$fruit = array(orange,orange,apple,bananna,orange,apple,pear);
How could I get the number of elements from $fruit where the value is
orange?
[/snip]
From http://www.php.net/array_keys with additions;
$array = array(blue, red, green, blue, blue);
$countArray =
Not a problem...
I do try and be thorough when I create mails...
I'll be more list friendly in the future...
cheers for the heads up!
Nw, if I can only solve my prob, I can go home ;-)
Jason Wong [EMAIL PROTECTED]
19/11/2003 16:42
Please respond to
[EMAIL PROTECTED]
To
[EMAIL PROTECTED]
try this:
if ($action == 'send') {
$fimail = explode(,, $list);
$count = count($fimail);
$show = bUsers that have been mailed:/bbr;
$i = 1;
while ($count $i) {
mail($fimail[$i], Subject, $message, $headers);
$show .= br$fimail;
$i++;
}
}
Hi all,
Can anyone spot the problem here and point me in the right direction?
I have a script that goes and fetches the xml at weblogs.com
(http://www.weblogs.com/changes.xml).
It then extracts the urls of the updated blogs and goes and uses file()
to read each of them and extract some more
Cheers to everyone, it works great!
Easy when I look at it now, but ant it the way...
I'm off to the pub now.. later...
Tris...
Alessandro Vitale [EMAIL PROTECTED]
19/11/2003 16:50
To
[EMAIL PROTECTED], [EMAIL PROTECTED]
cc
Subject
[PHP] R: [PHP] mailing multilple addresses...?
try
[snip]
Can anyone spot the problem here and point me in the right direction?
[/snip]
Nope, not enough info to spot the problem. I could point you in a
direction, but that wouldn't help I am afraid. Wait, hold that thought,
I have a direction to point you in. Please provide us with relevant
Hi all,
This is a bit wierd so don't flame please.
Imagine a database table, field defined as ENUM with a list of allowed types
such as
Mr, Mrs, Miss, Dr, Prof, etc - you get the idea.
I've read the MySQL manual and by using
SHOW COLUMNS FROM table_name LIKE enum_column_name;
I can get a
hi
How about using fopen() and reading line by line. And for xml parsing if
you are using DOM switch to SAX that will always help.
Nick Wilson wrote:
Hi all,
Can anyone spot the problem here and point me in the right direction?
I have a script that goes and fetches the xml at weblogs.com
* and then Jay Blanchard declared
Nope, not enough info to spot the problem. I could point you in a
Spare me the sarcasm. Here's the code if anyone can help, thanks.
?
$xml=file('http://www.weblogs.com/changes.xml');
$xml=implode(\n, $xml);
// Pattern match string
$urlpattern =
[EMAIL PROTECTED] wrote:
Not a problem...
I do try and be thorough when I create mails...
I'll be more list friendly in the future...
cheers for the heads up!
Nw, if I can only solve my prob, I can go home ;-)
When you go home, don't forget to turn on your out of office autoreply,
everyone
It should be off...!
I went away for two weeks recently, and left my subscription runing ot he
list... sorry...
I'll be more careful...
It's been a funny few weeks... ;-)
Tris...
Marek Kilimajer [EMAIL PROTECTED]
19/11/2003 17:17
To
[EMAIL PROTECTED]
cc
[EMAIL PROTECTED]
Subject
Re:
Hi,
Jay's comment was a fair one. It's not always possible to help without
full info.
You could try writing your data directly to disk instead of keeping them
in memory as your code seems to be doing. In that case your regex
function might need to go into the character data handler.
Nick
* and then Raditha Dissanayake declared
Hi,
Jay's comment was a fair one. It's not always possible to help without
full info.
I beg to differ, the point was valid but the manner unfriendly at best.
You could try writing your data directly to disk instead of keeping them
in memory
Hi Everyone!
I'm not really sure why does this simple script not work. When I run
the code, the loop kept going until it timed out. I'll enclose the simple
code here...
--snip--
$res_str = Dog NameWhoof/Dog Name![CDATA[Whose Dog is that??]];
for ($i=0;$i100;$i++)
{
if
It look like a email software called, 'imail'
D. Jame [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Anyone know about imail.?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jeff McKeon wrote:
How would I count the number of elements in an array that had a certain
value?
In other words, if I have
$fruit = array(orange,orange,apple,bananna,orange,apple,pear);
How could I get the number of elements from $fruit where the value is
orange?
Thanks,
Jeff
$temp =
On 19-Nov-2003 Steve Buehler wrote:
Amazing what I learned today. :) I love this list and its people.
How about one more? (ver 4.1.0):
foreach(range('A', 'Z') as $letter) {
echo $letter, \n;
}
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always
Never mind that! It work now Been working on it for a few hours
though
Scott Fletcher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi Everyone!
I'm not really sure why does this simple script not work. When I run
the code, the loop kept going until it timed out.
Ok,
First, let me say, I have looked at the manual and searched the past posts
but still can't get this to work. I also should say that this is my first
time trying to bridge php and java so this may be a stupid questionI
have a java class(DateUtil) in a package (testphp). I then took the
I currently store text from a MySQL blob field in a string $orig_text. I
need to compare that with something someone type in from a form stored in
$new_text. How would I go about comparing them to see if they are
different or exactly the same? strcmp doesn't look like it will handle
this too
Greetings:
I can't decide if my problem is PHP or Javascript, but I've been staring
at this line of code for too long without being able to see why it's
behaving the way it is
I'm trying to open a new window on top of the current window, and it
does that, but the original (bottom) window
From: Ed Curtis [EMAIL PROTECTED]
I currently store text from a MySQL blob field in a string $orig_text. I
need to compare that with something someone type in from a form stored in
$new_text. How would I go about comparing them to see if they are
different or exactly the same? strcmp doesn't
I know this is bad but this is the only listserver/newgroup
thingy I use because I am php challenged.
Any how, I want to embed windows media player in my php pages
(which I have done successfully), but I need help:
I was wondering which is the best format for demand downloading
of video files
I guess I did miss that it says that the comparison is case sensitive
and binary safe.
Thanks,
Ed
On Wed, 19 Nov 2003, CPT John W. Holmes wrote:
From: Ed Curtis [EMAIL PROTECTED]
I currently store text from a MySQL blob field in a string $orig_text. I
need to compare that with
Frank Tudor mailto:[EMAIL PROTECTED]
on Wednesday, November 19, 2003 11:26 AM said:
I know this is bad but this is the only listserver/newgroup
thingy I use because I am php challenged.
Actually you have (nearly) the entire internet at your beck and call.
Me: Frank, google. Google, Frank.
Hi Everyone!
I wanted to know how do I return two parameters within a function. I'm
not having much luck with it. I kept getting errors...
--snip--
function CBC_XML_BreakUp($strResponse_XML, $strResponse_HTML)
{
global $res_str;
$strResponse_XML = substr($res_str, 0, 100);
Hi Everyone!
Why does the for() loop for PHP so slow when it is digesting a large
amount of data? Is there a way to make the loop go faster?
Thanks,
Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Scott Fletcher mailto:[EMAIL PROTECTED]
on Wednesday, November 19, 2003 12:07 PM said:
I wanted to know how do I return two parameters within a
function. I'm not having much luck with it. I kept getting errors...
[snip]
return $strResponse_XML,$strResponse_HTML;
That's because it
Scott Fletcher mailto:[EMAIL PROTECTED]
on Wednesday, November 19, 2003 12:11 PM said:
Why does the for() loop for PHP so slow when it is digesting a
large amount of data? Is there a way to make the loop go faster?
Show us your loop.
--
Don't like reformatting your Outlook replies?
Kenn Murrah wrote:
I'm trying to open a new window on top of the current window, and it
does that, but the original (bottom) window changes to read Object
Window ... I can get back to the original with the Back button but of
course don't want to ask that of the user ... I simply want a new
* Thus wrote Scott Fletcher ([EMAIL PROTECTED]):
Hi Everyone!
--snip--
$res_str = Dog NameWhoof/Dog Name![CDATA[Whose Dog is that??]];
for ($i=0;$i100;$i++)
{
if (substr($res_str, $i, 9) == ![CDATA[)
um.. lookup this function:
http://www.php.net/strpos
Curt
--
My
Ummm, look like I'll stick with number two. Didn't know about the value
to pass value back and forth in PHP
Thanks,
Scott F.
Chris W. Parker [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Scott Fletcher mailto:[EMAIL PROTECTED]
on Wednesday, November 19, 2003 12:07 PM
1 - 100 of 146 matches
Mail list logo