Aw! Never knew what the php's include_path is for when I saw it in the
php.ini some times ago... So, that fixed the problem by just setting it to
the website directory.
Thanks,
FletchSOD
Greg Beaver [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi Scott,
What you need is to set
Hi!
After doing many testing for hte fsockopen() bugs with PHP developers
which is now fixed. I just happen to noticed that in the middle of those
testing when I do the PHP installation after doing the usual configure and
make. What I noticed is that it asked me to ..
--snip--
You may want
it not work before I added this header line? Is it a flaw in
Adobe Acrobat?
Best Regards,
Scott Taylor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
,
Scott Taylor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
What is CLI? It is something that PHP 5 that have it.
Thanks,
FletchSOD
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What is CLI that PHP 5 mentioned about?
Thanks,
FletchSOD
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Oh I see what you're talking about now...
Thanks,
FletchSOD
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is that the server converts all \r's into \n's, and
for this reason when a piece of mail goes out it has two breaks instead
of one.
Best Regards, and thank you for the help,
Scott Taylor
Ben Ramsey wrote:
Scott Taylor wrote:
What I really don't understand is why there are any line breaks at
all, because
through POST) and do a
character count it only shows 3 - the a, the \n, the b. Yet in the
email address it comes out as:
a
b
Why is this?
BTW: I am on a windows computer but the server is a unix server.
Best Regards,
Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
);
What I really don't understand is why there are any line breaks at all,
because the trim is supposed to take out all \r \n 's. Is there
another type of line break?
Best Regards,
Scott Taylor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
Went Google surfing on Browser Refresh Back/Forward Button and it
turned out that PHP can do the dirty work. Problem is no sample script, all
I see are comments about suggesting on using the $_SESSION or the database
to check the $_POST stuffs and do something about it.
So does anyone
Why is Browser Refresh Back/Forward Button capitalized? Is that the
name of a
band or something???
Well, forgot to enclose the double quote. Old Habit with capitalization on
commonly used term...
Are you trying to process a form a something and you want to prevent the
browser from processing
PROTECTED]
Scott Fletcher wrote:
Hi Everyone!
Sample code below...
--snip--
$fp = fsockopen(www.cnn.com, 80, $errno, $errstr, 30);
--snip--
I get the error message, permission denied along with 13. When I read
the
bugs.php.net and found out that I need to add the @ to it so I did
.
Decided to go ahead and break up the rest of the webpages on the development
website to make this possible. It is going to set me back by a month. My
boss
is not going to like it. :-( Better less problem down the road...
FletchSOD
Scott Fletcher [EMAIL PROTECTED] wrote in message
news:[EMAIL
in /home/website/emarket/www/zz_test_dir/Net/Socket.php on
line 108
--snip--
The script I put down are
--snip--
?
include('Request.php');
$a = new HTTP_Request('http://www.yahoo.com/');
$a-sendRequest();
echo $a-getResponseBody();
?
--snip--
Scott F.
[EMAIL PROTECTED] wrote in message
% cellpadding=0
cellspacing=0trtd bgcolor=#3366ccimg alt= width=1
height=4/td/tr/table/body/htmlConnection closed.
--snip--
John Nichel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Scott Fletcher wrote:
This is what I get...
--snip--
1
Warning: fsockopen() [function.fsockopen
Hi Everyone!
Sample code below...
--snip--
$fp = fsockopen(www.cnn.com, 80, $errno, $errstr, 30);
--snip--
I get the error message, permission denied along with 13. When I read the
bugs.php.net and found out that I need to add the @ to it so I did this..
--snip--
$fp = @fsockopen(www.cnn.com,
=.$salt) for example, so to treat it as a
POST like would be ...
header(Location: https://www.blah.net;);
header( ??? ); //for PHPSESSID and other post strings...
Thanks,
Scott F.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
no Location: feature, now your comments surely would be of a help.
Thanks a million! Now I'll have to decide which one to use..
Scott F.
Chris Shiflett [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
--- Scott Fletcher [EMAIL PROTECTED] wrote:
I am wonder if it is possible to use
to
be the problem because the directory folder is already at dr-xr-xr-x, so
not sure what the problem is exactly...
Scott F.
Chris Shiflett [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
--- Scott Fletcher [EMAIL PROTECTED] wrote:
I am wonder if it is possible to use the header(Location
It said it is set to 1 from ini_get(), it also said on from php.ini...
Scott F.
Chris Shiflett [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
--- Scott Fletcher [EMAIL PROTECTED] wrote:
Groan!!! I get permission denied error for fsockopen().
Do you know what allow_url_fopen
if this is the problem.
Scott F
Chris Shiflett [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
--- Scott Fletcher [EMAIL PROTECTED] wrote:
It said it is set to 1 from ini_get(), it also said on from php.ini.
In that case, you should be able to do this. Can you restate exactly what
That's not the one, I tried it with port 80 and still get the error message,
so ssl have nothing to do with it.
Scott F.
Scott Fletcher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Sample code is $fp = fsockopen(www.whatever.com, 443, $errno, $errmsg);
Error message is $errno
] [Permission denied]
--snip--
Chris Shiflett [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
--- Scott Fletcher [EMAIL PROTECTED] wrote:
Sample code is $fp = fsockopen(www.whatever.com, 443, $errno,
$errmsg);
Error message is $errno -- 13 and $errmsg -- Permission denied
I'd
P.S. The telnet part, it said...
--snip--
Trying
Connected to www.google.akadns.net
--snip--
When I exited, I get HTML codes dumped on screen along with bad request...
Scott F.
Chris Shiflett [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
--- Scott Fletcher [EMAIL PROTECTED
I don't think it is a PHP issue because I don't have this problem with
Mozilla browser. It more had to do with IE and worse, it is only a random
occurance.
Scott F.
Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Saturday 14 February 2004 05:44, Scott Fletcher wrote
://s92192454.onlinehome.us/PHP_on_windows_under_IIS.html
This one fix the problem for me. I had already started to move slowly away
from using IIS 6 to the Apache because of this lack of documentation
everywhere over the time.
Scott F.
Zerof [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED
Hi!
I'm wondering if there is such a thing as an alternative to the HTML
submit button that would instead look like an anchor and yet act like a
submit with POST action. Just wondering...
Scott F.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
() where formName is
the
name of the form you wish to submit. As with a lot of client-side
scripting
languages, I cannot guarantee that this solution is cross-browser
compatible.
Shaunak
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]
Sent: Monday, February 16
Not a problem!! :-) I had a morning brain freeze until lunch. Thanks...
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip]
You can do it with an image.
[/snip]
Dang! I was thinking picture of an anchor. Monday afternoon brain
freeze!
--
PHP General Mailing List
, it
might will never get worked on. So, less headache, I use $_REQUEST and yet
not to have customers be breathing down my neck.
Give it a try if you want, if not then that's okay. It would be the same
thing a year from now and so on.
Scott F.
Chris Wilson [EMAIL PROTECTED] wrote in message
news
Hi!
When I set the session.cache_expire to 60 minutes then on the webpage,
how do I get PHP to tell me that session had expired via PHP function or
something?
Thanks,
Scott F.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try specifying the file path where cURL reside on.. Like this --
--with-curl=/usr//*** for example.
Scott F.
Donpro [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
trying to compile PHP 4.3.4. on RedHat Linux 7.3 and getting the following
error:
checking for CURL support
Try the $_REQUEST variable, this is where both the $_GET and $_POST come
from and let us know how it goes...
Scott F.
Chris Wilson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
When in IE, submitting any form on our https page, the post variables
intermittantly don't come through
I mean, I sometime found a few POST data had incorrectly went over to the
GET data. I don't know it's a PHP problem but more of a web browser
problem.
Scott F.
Scott Fletcher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Try the $_REQUEST variable, this is where both the $_GET
($current_filename;
--snip--
What did I do wrong??
Scott F.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Oh I understand now. There is a different between fileatime(), filectime()
and filemtime(), with a letter 'a', 'c' or 'm'... The one with the m is
what work with Unix/Linux..
Scott F.
Scott Fletcher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I saw the article at http://us2
Thanks
Stuart [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Scott Fletcher wrote:
How on earth can bugs.php.net get infected??? I'm not even familiar
with
PHP bug #12494 'cause I never filed it or comment on it.
I think somebody should look into bugs.php.net webserver/e
Whoa!! Just got an email today right from bugs.php.net and it was
intercepted by the Spam Firewall because it contain the Worm.SCO.A virus and
was removed before being send to me. The email goes like this here
--snip--
Title: VIRUS (Worm.SCO.A) IN MAIL TO YOU (from [EMAIL PROTECTED])
Body:
-recipients: ;
Message-Id: [EMAIL PROTECTED]
--snip--
Scott Fletcher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Whoa!! Just got an email today right from bugs.php.net and it was
intercepted by the Spam Firewall because it contain the Worm.SCO.A virus
and
was removed before being
On Friday 06 February 2004 22:10, Scott Fletcher wrote:
Internet Header is shown below... (Actual DNS and IP are replaced by
xxx
for security reason and keeping out spammers)
The DNS and IP that is replaced by xxx are the actual DNS IP from my
company, so why should I give it away
Thanks
Duncan Hill [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Friday 06 February 2004 14:06, Scott Fletcher wrote:
Whoa!! Just got an email today right from bugs.php.net and it was
intercepted by the Spam Firewall because it contain the Worm.SCO.A virus
I'm attempting to have some java code send a post request to a php script,
but the variables are not being assigned correctly. The request comes
through
fine, but the vars keep coming up empty.
The java code works fine with a perl script that grabs the post vars, as
well as
from a simple html
of the file itself
being corrupt, etc.
Thanks for the help,
Scott Taylor
- Edwin - wrote:
On Tue, 27 Jan 2004 20:22:46 -0500
Scott Taylor [EMAIL PROTECTED] wrote:
I understand all of the file size ones. What I really don't
understand is why neither of the following examples work:
/* example 1
Stuart wrote:
Scott Taylor wrote:
$file_two = 'archive/newsletters/Dec03PostPress.pdf';
Try replacing this line with...
$file_two =
$_SERVER['DOCUMENT_ROOT'].'/archive/newsletters/Dec03PostPress.pdf';
As my first posts states, I've tried that. And no, that doesn't work
either
reason this works:
readfile('http://domain.com/archive/newsletters/Dec03.pdf');
but this does not: readfile('/archive/newsletters/Dec03.pdf');
nor does this: readfile('archive/newsletters/Dec03.pdf');
Can someone explain this to me?
Thanks for all the help,
Scott Taylor
--
PHP General Mailing
';
readfile($file);
/* example 2 */
$file = 'archive/newsletters/Dec03.pdf';
readfile($file);
Thanks for the help so far,
Best Regards,
Scott
-Original Message-
From: Scott Taylor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 27, 2004 12:34 PM
To: [EMAIL PROTECTED]
Subject: [PHP
of multiple categories
flexibility
...
I'm not looking to create a link farm but rather to add content to my
wife's web site. She often receives requests from others related to her
field to add reciprocal links.
Many thanks.
--
Regards,
Scott Dudley
--
PHP General Mailing List (http://www.php.net
Hello,
In page_1.php I have this form:
?
$num_rows = count ($s_goal);
for ($i = 0; $i $num_rows; $i++) {
echo
table width='98%'
tr
td
form action=page_2.php method=POST
input type=checkbox name=meth[] value=TMT
input type=checkbox name=meth[] value=TO
input type=checkbox name=meth[]
Do you mean using
$file = '/protected/file.pdf';
or using an absolute path on the server?
Best Regards,
Scott
Subject:
Re: [PHP] authentication problems!
From:
Luke [EMAIL PROTECTED]
Date:
Wed, 21 Jan 2004 14:24:11 +1100
To:
[EMAIL PROTECTED]
Yeah, i think i mentioned the same thing
will have to go through the documentation to use this.
If anyone has any ideas it will be much appreciated.
Scott Taylor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Regards,
Scott Taylor
[EMAIL PROTECTED] wrote:
there are a couple of different ways to do this.
the http basic approach will work just fine. with http basic the
id/pw are passed in the headers in an encoded string, so i'm not
certain about your:
if using HTML, the username password is easily
Subject:
Re: [PHP] Re: alternative to protecting files through http auth.
From:
Jason Wong [EMAIL PROTECTED]
Date:
Sat, 17 Jan 2004 05:08:29 +0800
To:
[EMAIL PROTECTED]
On Saturday 17 January 2004 04:03, Scott Taylor wrote:
Alternately, if you aren't able to create directories or access files
Paul Chvostek wrote:
On Wed, Jan 14, 2004 at 04:17:06PM -0500, Scott Taylor wrote:
Is there no other way to protect your (non PHP) files than through
authentication? I've been trying to set up a system that will protect
files. Those trying to access the files would only be able to do so
What is the simplist way to do change
http://username:[EMAIL PROTECTED]/protected/archive/$file to
http://miningstocks.com/protected/archive/$file where $file is a
variable (indicating any file in that directory or any subdirectory)?
Best Regards and thank you for all the help,
Scott
is there an alternative to using http basic
authentication to protect files? Or is there a simple way to
authenticate the pages themselves without using something like Manuel
Lemos' PHP HTTP class?
Best Regards,
Scott Taylor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Paul Chvostek wrote:
On Wed, Jan 14, 2004 at 04:17:06PM -0500, Scott Taylor wrote:
Is there no other way to protect your (non PHP) files than through
authentication? I've been trying to set up a system that will protect
files. Those trying to access the files would only be able to do so
What is the easiest way to view the headers that a PHP page has put
out? I've seen the |var_dump(headers_list()); on php.net but this
always gives me an error (such as: |
bFatal error/b: Call to undefined function: headers_list() in /usr/local/psa/home/vhosts/a.com/httpdocs/my/page.php/b on
regards,
Scott Taylor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
The login page where the HTTP Authentication would pop-up asking the web
user to enter the user id and password to log in. I'm using the PHP's
$_SERVER['PHP_AUTH_USER'] and it work okay in both Internet Explorer and
Gecko browsers, like Mozilla for example. What I had discovered is that
Hi!
I wanted to know is is there a way to configure PHP to make it not be
affected when the web user tamper with the values in the post string after a
webpage is submitted or something. (Further explanation below)
I noticed when I use the hidden html input tag with hidden data in it
then
Will check into whether did I use the post method correctly.
Speaking of session, I don't see how can it be done to put the data into the
session after the user click the submit button before going over to the next
webpage.
FletchSOD
Scott Fletcher [EMAIL PROTECTED] wrote in message
news:[EMAIL
Hi!
Anyone know what is the php function for finding the length of the array?
I haven't found the answer at http://us3.php.net/manual/en/ref.array.php .
Thanks,
FletchSOD
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ah! Thanks!!!
Chris Hayes [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
At 15:44 6-1-04, you wrote:
Hi!
Anyone know what is the php function for finding the length of the
array?
I haven't found the answer at http://us3.php.net/manual/en/ref.array.php
.
looking for the
Is there a really good way to use PHP Session to tell whenether the user is
authorized user or not? I see one problem here, let's say the user tried to
access certain webpages that are unauthorized then I get to kick the user
out. But when the user logged in, we assigned a session token to it,
in the first place. My bank doesn't use PHP, it use JAVA and
surprisely, it work very well.
Chris Shiflett [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
--- Scott Fletcher [EMAIL PROTECTED] wrote:
Is there a really good way to use PHP Session to tell whenether the
user is authorized
Thanks, that does help!!!
FletchSOD
John W. Holmes [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Scott Fletcher wrote:
What is the function exactly for encoding the user's typed password
in
PHP after the HTTP Authentication pop-up window by Apache was submitted?
I
tried
Hi!
I saw the example on how to configure and compile PHP with unixiODBC and
Apache but it only refer to PHP version 3. So, can someone give me a better
example with the latest PHP version somewhere?
Thanks,
FletchSOD
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
to the variable, color. So we get this
--snip--
color -- red
--snip--
And not this...
--snip--
Color -- red#RowNum3
--snip--
Cheer,
Scott
Scott Fletcher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
It does work now. Going the other way around does the trick. Surprisely,
PHP doesn't
Hi!
I'm encountering an interesting situation. I can do with one file path
in a flag for the compiler without a problem, but with 2 file paths in one
flag. What is needed to combine those two paths into one flags?
--snip--
LDFLAGS='-L/usr/local/ssl/lib'
Hi!
What is the function exactly for encoding the user's typed password in
PHP after the HTTP Authentication pop-up window by Apache was submitted? I
tried the base64_encode() but it is not the right function. The
authentication header here is ..
--snip--
header('WWW-Authenticate:
How can I unlink files in a directory that are, for example older than 1
hour?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the workaround with the meta tag (meta http-equiv=REFRESH
content=0; URL=http://www.slashdot.org/;, but I just don't understand
what I am doing wrong here. I'm sure someone here knows
Thank you in advance,
Scott Taylor
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net
. :(
I know I can work around this by adding a fuzz factor, but I'd rather not.
I'm just confused as to why something so fundamental to math would change
across PHP versions.
Kind Regards
Scott
--
Scott McDaid
lightershade
t: +44 131 514 4000
d: +44 131 514 4009
--
This email and any files
That would have been nice but it doesn't seem to work. Alright, I guess
I'll redo the script to make it work differently...
Thanks,
Scott
Stuart [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Scott Fletcher wrote:
Sample script I have here is this...
--snip--
a href=http
Whoop! I think I found the problem, let me fix it and see if that work..
Scott Fletcher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
That would have been nice but it doesn't seem to work. Alright, I guess
I'll redo the script to make it work differently...
Thanks,
Scott
It does work now. Going the other way around does the trick. Surprisely,
PHP doesn't treat it as if two seperate thing are combined into one post
data, like color for example that would be displayed as 'redRowNum3'.
Thanks,
Scott
Scott Fletcher [EMAIL PROTECTED] wrote in message
news:[EMAIL
is how do I pass the post string to the Iframe, like
color=red in this example, this example doesn't work... The iframe is
the target method
--snip--
a href=http://www.yourserver.com/yourpage.htm#RowNum3color=red
target=docJump/a
--snip--
Thanks,
Scott
--
PHP General Mailing List (http
. That way, I can halt
the script if there is no write permission or something.
Thanks,
Scott F.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, is_writeable() and is_readable().
Thank for the response!
Scott F.
Marcos Thiago Merschamnn Fabis [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Looked up on the manual about the chmod() function for PHP, nice
but
it
wouldn't work if the ownership file permission is set, so
What's the function for converting it to base 8 ???
Thanks
Roger B.A. Klorese [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Um, not sure what this meant with the fileperms() function.
I have file
permission as -rw-r--r-- or 644 and when using hte
fileperms() funciton,
Alright found it. it is base_convert, just use ...
--snip--
echo base_convert($filename,8,10);
--snip--
Cheer!
Scott Fletcher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
What's the function for converting it to base 8 ???
Thanks
Roger B.A. Klorese [EMAIL PROTECTED
Hi Everyone!
The function in JavaScript which is charAt(), I am wondering what would
be this same function in PHP? I couldn't find it so it is in a different
function name I don't know about.
Thanks,
Scott F.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
I'm new to the list, and I don't want this to sound like a stupid ?, but
I am having an issue with a function that I created.
I have some code stored in a database, similar to XML-style tags, but I
just created them myself to be more user-friendly to people.
Like for instance bold/bold, and
,
Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Okay thanks... I'll do a workaround for now until PHP get upgraded in the
near future.
Thijs Lensselink [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Scott Fletcher wrote on maandag 1 december 2003 16:41:
When I do this script, I didn't get a : and numbers in second.
: --snip
'Yesterday'. For 'Last Week', I don't know because it is a little tricky.
:-) Someone else may know of something better than I do.
Scott
Richard Davey [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I'm just wondering if anyone knows of a class/function (or easy way)
to do the following
Something like this, but this is not perfect.. The mktime seem to work only
for Unix/Linux and not work for Windows.
--snip--
function dateDiff($input_date)
{
//MSG #1 - Parameter1 must be in this date format -- mm/dd/
//MSG #2 - This script does not include fix for the leap year...
and extract the Received, From and Subject headers.
2)Drop those into a database that I can manage from the browser.
Sounds simple enough and I am sure I am making it harder than it really
is, but if you know of a project please let me know.
Thanks!
-Scott
--
PHP General Mailing List (http
Yea, plan to file a bug to include an example. As soon as the strpos()
script work then I'll go ahead. Right now, mine doesn't work correctly with
the 3rd and 4th line of code, so I'm trying to figure out why. :-)
Scott
Mike Ford [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED
strpos() is acting a little bit funny. When I do this...
--snip--
$a = strpos($data,]]);
--snip--
Problem is there are ]] characters in the $data string and it just
doesn't see it. Anyone know why and what is the workaround to it?
Scott F.
--
PHP General Mailing List (http://www.php.net
I thought about that also, so I took your suggestion and tried it. Still
doens't work... I tried those...
\]];
\]\];
Scott F.
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip]
strpos() is acting a little bit funny. When I do this...
--snip--
$a = strpos($data
of hte string.
So, I still don't know what hte problem is...
Scott F.
Curt Zirzow [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
* Thus wrote Scott Fletcher ([EMAIL PROTECTED]):
strpos() is acting a little bit funny. When I do this...
--snip--
$a = strpos($data,]]);
--snip
Yea, it's a and not a gt;.. It is pure XML tags
Found the problem now, so no problem now. See other branch of this posting
of a workaround to the problem I did...
Thanks,
Scott
Sophie Mattoug [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Just a stupid idea : are you sure
= (strpos($res_str,![CDATA[)+9);
$HTML_Start = (strpos($res_str,![CDATA[,$XML_Start)+9);
$HTML_End = strpos($res_str,]],$HTML_Start);
$HTML_End += 1;
$XML_End = strpos($res_str,]],$HTML_End);
--snip--
Thanks all for the quick feedback! I appreciate it!
Scott F.
Scott Fletcher [EMAIL
]]].]
Thanks,
Scott F.
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip]
I thought about that also, so I took your suggestion and tried it.
Still
doens't work... I tried those...
\]];
\]\];
[/snip]
I tried Curt's solution...no problem. What are you expecting
() function because it is a bad choice of word but that is
understandable when I use this function the first time and not understand
it. Thanks for the clarification...
Scott
Kelly Hallman [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Fri, 21 Nov 2003, Scott Fletcher wrote:
Ah
Yea! :-) Don't we all hate it? :-)
Mark Charette [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Fri, 21 Nov 2003, Scott Fletcher wrote:
Well, I seem to have problem understanding the word, 'offset' to the
strpos() function because it is a bad choice of word
strpos
, not
just first one.
Scott
Chris W. Parker [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Scott Fletcher mailto:[EMAIL PROTECTED]
on Wednesday, November 19, 2003 1:12 PM said:
function CBC_XML_BreakUp($strResponse_XML, $strResponse_HTML)
{
[snip]
Wow I didn't think you were going
I can give the strpos() a shot but I seem to have problem with getting the
strpos() to give me two seperate !CDATA[[]] tags instead of just hte
first one only...
Scott
Curt Zirzow [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Scott,
Please dont post 500+ lines of stuff
601 - 700 of 1894 matches
Mail list logo