Hi all,
I programmed a server to bind to an external server(Let's call it
C-server). My server will have to listen on the connection to C-server
and send over data frequently. Each write of data to C-server from my
server will cause C-server to response a string.
So the codes will be something l
Jason,
What I shock, 307,000 entries returned.
Maybe someone with ability greater or other than I, should give some serious
consideration to a solution or work around.
I've been using ColdFuion for 7 years and I can do a anywhere in the page, no matter if I've run CFML,
Javascript it still wo
Hi, I want to know if there's a way to send MSN messenger messages thru
PHP... If there is How can I do it? Thanks...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tuesday 17 February 2004 16:37, PETCOL wrote:
What you're asking is a VERY FAQ. Something that's asked almost every other
day. The list archives will have plenty of answers.
> What I shock, 307,000 entries returned.
If you don't want to trawl through those search results then read the error
Hello,
On 02/17/2004 05:40 AM, "Miguel J. Jiménez" wrote:
Hi, I want to know if there's a way to send MSN messenger messages thru
PHP... If there is How can I do it? Thanks...
I am not sure about sending messages, but here you may find a couple of
classes that can communicate with MSN messen
On Tuesday 17 February 2004 03:28, marc serra wrote:
> I want to know if it's possible to extract a zip file in PHP.
>
> I've read php documentation on ZZIPlib but i don't find any solution to
> extract file.
>
> Can you please help me to solve it.
The example in the manual shows how to open a zi
HI all,
I am querying a db and getting the resultset, then to get out each
individual field of the resultset (which is a single unique line all the
time) as mysql_result($result2, 0, "p_company"). the problem is that if the
actual field has a space in it say "Sun microsystems", I only get "sun" a
Jason,
I appreciate people get just as frustrate by reading repetative posts.
Alliare and Macromedias forums for ColdFusion and other software, allow a
search through the entire post, archive everything. Which always avoid this
problem of a newsgroup. Maybe I'm wrong, but I don't thing there's
Hi
I cann't call Global vars or Environment var on Class.How to's i do to
call it?
I want to call variable same below.
var $location
="http://".$HTTP_SERVER_VARS['HTTP_HOST'].$_SERVER['REQUEST_URI']."?".$HTTP_SERVER_VARS['QUERY_STRING'];
Thank you.
Turbo.
--
PHP General Mailing List (http
Turbo wrote:
> Hi
>
> I cann't call Global vars or Environment var on Class.How to's i do to
> call it?
> I want to call variable same below.
>
> var $location
> ="http://".$HTTP_SERVER_VARS['HTTP_HOST'].$_SERVER['REQUEST_URI']."?"
$HTTP_SERVER_VARS['QUERY_STRING'];
>
>
> Thank you.
> Turb
Hi,
How can i tell if one date occurs before another date in the format
-mm-dd?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
does anyone know the format of the postcodes in the UK so I can keep my
database accurate?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Got to agree with Jason's comments - as I'm sure all other regulars on the list will
do.
I've just had a quick look at the php.net site, done a search for "header" and halfway
down the first page returned found this:
"Remember that header() must be called before any actual output is sent, eithe
on 17/2/04 10:25 am, Shaun at [EMAIL PROTECTED] wrote:
> Hi,
>
> does anyone know the format of the postcodes in the UK so I can keep my
> database accurate?
>
> Thanks
Try http://javascript.internet.com/forms/uk-postcode-validation.html
Roddie Grant
[EMAIL PROTECTED]
--
PHP General Mailing
Shaun wrote:
Hi,
does anyone know the format of the postcodes in the UK so I can keep my
database accurate?
Thanks
http://www.royalmail.com/portal/rm/content1?catId=400044&mediaId=9200078#3400055
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
PETCOL wrote:
Alliare and Macromedias forums for ColdFusion and other software, allow a
search through the entire post, archive everything. Which always avoid this
problem of a newsgroup. Maybe I'm wrong, but I don't thing there's a search
like this for a newsgroup?
http://marc.theaimsgroup.com/?
Shaun wrote:
How can i tell if one date occurs before another date in the format
-mm-dd?
$date1 = '2004-01-01';
$date2 = '2004-02-01';
if (strtotime($date1) < strtotime($date2))
{
...
}
--
Stuart
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
Hello PETCOL,
Tuesday, February 17, 2004, 8:37:15 AM, you wrote:
>> google?
P> What I shock, 307,000 entries returned.
Assuming you're running Windows, do what I do and download the Windows
CHM help file version of the PHP manual. It includes standard
search capabilities, so clicking on Search
php-general Digest 17 Feb 2004 11:39:20 - Issue 2595
Topics (messages 177886 through 177923):
Ora_Parse failed
177886 by: Matt Hillebrand
177888 by: Matt Hillebrand
Re: How many days between two dates
177887 by: Marek Kilimajer
Steps to installin PHP on apache 2
Hi,
My local time zone is GMT+3
My website is located in a remote server with different time zone.
So, How to calculate my time zone using the GMT functions in PHP?
Regards,
Hamid Hossain
---
Check Amazon.com Latest PHP books:
http://www.amazon.com/exec/obidos/redirect?tag=z
Stuart
Thank you.
"Stuart" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> PETCOL wrote:
> > Alliare and Macromedias forums for ColdFusion and other software, allow
a
> > search through the entire post, archive everything. Which always avoid
this
> > problem of a newsgroup. Maybe
Michael,
So are you answering my problem not, really just antaganising it.
I've tried ob_end_flush(); it didn't work, maybe it's a server
configuration issue. Maybe it's just php can not do it?
So pleased to hear the php community is here to help each other.
For those of you who are making th
PETCOL wrote:
Stuart
Thank you.
Don't thank me[1], thank them. Preferably with cash[2].
[1] I will accept cash if offered.
[2] http://marc.theaimsgroup.com/?q=about#Begware
--
Stuart
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello PETCOL,
Tuesday, February 17, 2004, 11:52:25 AM, you wrote:
P> I've tried ob_end_flush(); it didn't work, maybe it's a server
P> configuration issue. Maybe it's just php can not do it?
Have a look at the headers_sent() function to see *where* your script is
outputting the headers you don
> > Is there are any alternatives to the pdflib for on the fly generation of
> > printable documents? May be a postcript lib?
>
> http://www.fpdf.org/?lang=en
>
> --
> Jim Kaufman
> Linux Evangelist
> public key 0x6D802619
> http://www.linuxforbusiness.net
>
Thanks Jim, it's what i need.
--
F
On 17 February 2004 10:43, Roddie Grant wrote:
> on 17/2/04 10:25 am, Shaun at [EMAIL PROTECTED] wrote:
>
> > Hi,
> >
> > does anyone know the format of the postcodes in the UK so I can
> > keep my database accurate?
> >
> > Thanks
>
>
> Try http://javascript.internet.com/forms/uk-postcode-v
Hello Hamid,
Tuesday, February 17, 2004, 11:47:32 AM, you wrote:
HH> My local time zone is GMT+3
HH> My website is located in a remote server with different time zone.
HH> So, How to calculate my time zone using the GMT functions in PHP?
There is an unknown part of your equation - the timezone o
Shouldn't you use javascript to get the local time of the HTTP client, and
use PHP to get the time of the server?
Ben
On Tuesday 17 February 2004 11:47, Hamid Hossain wrote:
> [EMAIL PROTECTED]
--
Dr Ben Guofu Wu
Programming Director
Tel: 01743-340034 Fax: 01743-368214
Icom Innovations, http://w
Say I want to populate a textfield from a resultset and the resultset's
field has 2 words in it say: mike smith.
when I echo the value out to the texfields value it only displays mike and
not mike smith, I cant understand why.
here is my code:
>
is the space between mike and smith possibly
on 17/2/04 12:14 pm, Ford, Mike [LSS] at [EMAIL PROTECTED]
wrote:
> On 17 February 2004 10:43, Roddie Grant wrote:
>
>> on 17/2/04 10:25 am, Shaun at [EMAIL PROTECTED] wrote:
>>
>>> Hi,
>>>
>>> does anyone know the format of the postcodes in the UK so I can
>>> keep my database ac
I also tried this to get the result from resultset:
echo(mysql_result($result2, 0, "p_company"));
-Original Message-
From: Angelo Zanetti [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 2:52 PM
To: [EMAIL PROTECTED]
Subject: [PHP] php and texfield values
Say I want
Hi,
I am currently working on a download script, where I use a session
variable to make sure that the downloaded file cannot be linked directly.
However, this protection is not mandatory, so that a download can also
be created, which can be initiated via a direct link.
So, I'm using the followi
I 'Think' there are also different formats for military bases here and
overseas.
[this is a faint memory from validating post codes in a database some
years ago]
A
***
Angela K Hilton
Web & E-Learning Officer
ISD, UMIST
Tel: 0161 306 3109
*
Getting completely confused how this stuff works !!!
Anyone recommend a book for a regex newbie ?
pete
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello Angelo,
Tuesday, February 17, 2004, 12:52:13 PM, you wrote:
AZ> Say I want to populate a textfield from a resultset and the resultset's
AZ> field has 2 words in it say: mike smith.
AZ> when I echo the value out to the texfields value it only displays mike and
AZ> not mike smith, I cant unde
Anyone recommend a book for a regex newbie ?
O'Reilly usually has some good stuff
http://www.oreilly.com/catalog/regex/
There is plenty of tutorials online too, just google and you will get a
bunch of results.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
Hello Angelo,
On 17 Feb 2004 at 11:21, Angelo Zanetti wrote:
> I am querying a db and getting the resultset, then to get out each
> individual field of the resultset (which is a single unique line all
> the time) as mysql_result($result2, 0, "p_company"). the problem is
> that if the actual fiel
I've always found the PHP manual to be very helpful:
http://www.php.net/manual/en/pcre.pattern.syntax.php
Pete M wrote:
Getting completely confused how this stuff works !!!
Anyone recommend a book for a regex newbie ?
pete
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
On Tuesday 17 February 2004 17:21, PETCOL wrote:
> Alliare and Macromedias forums for ColdFusion and other software, allow a
> search through the entire post, archive everything. Which always avoid
> this problem of a newsgroup. Maybe I'm wrong, but I don't thing there's a
> search like this for
I also forgot to mention this book, which I've never used, but I picked
it up once and it seemed very helpful:
Regular Expression Pocket Reference
published by O'Reilly
http://www.amazon.com/exec/obidos/tg/detail/-/059600415X/qid=1077025752/sr=1-2/ref=sr_1_2/102-1251244-5472167?v=glance&s=books
B
I want to destroy a session when you click in a sing out link,
something like this
a href= link
onClick="session_destroy()"
Is ti possible? how?
How about channeling this through jabber? (http://www.jabber.org)
Miguel J. Jiménez wrote:
Hi, I want to know if there's a way to send MSN messenger messages
thru PHP... If there is How can I do it? Thanks...
--
Raditha Dissanayake.
-
Hi List,
to say it up front, this is none of these how do I I do (with PHP) what Javascript is
supposed to be for (Client Side)? Or my computer is broken how do I fix it, I'm deeply
in the need for help.
I run Apache 1.3.x
with PHP 4.3.1
on Win2000
I'm doing a paper comparing some of the
Hello Angelo
Have you tried,
You are missing in your example the closing " tag for the value
parameter.
regards
Jarratt
On Tue, 2004-02-17 at 12:52, Angelo Zanetti wrote:
> Say I want to populate a textfield from a resultset and the resultset's
> field has 2 words in it say: mike smith.
Hi All
Just a quick question.My wife has gotten tired of me complaining about the lack of PHP
(and LAMP in general I suppose) conferences etc in South Africa. Therefore, seeing as
she runs a conference company she is thinking of hosting a PHP conference in South
Africa, but before she get's goi
Hello Natalia,
Tuesday, February 17, 2004, 2:27:07 PM, you wrote:
NS> I want to destroy a session when you click in a sing out link,
NS> something like this
NS> a href= link
NS> onClick="session_destroy()"
NS> Is ti possible? how?
Yes it's possible, but not like that. Make your link go to a pa
Natalia Sensini wrote:
I want to destroy a session when you click in a sing out link,
something like this
a href= link
onClick="session_destroy()"
Is ti possible? how?
Not like that.
// some code
if ( isset ( $_GET['session_destroy'] ) && $_GET['session_destroy'] ==
true ) {
session_destroy()
Take a look at the manual. There is a session_destroy() function:
http://www.php.net/session
Natalia Sensini wrote:
I want to destroy a session when you click in a sing out link,
something like this
a href= link
onClick="session_destroy()"
Is ti possible? how?
--
PHP General Mailing List (http:/
I'm another South African, and I think my wife is tired of hearing the same
thing!
South Africa is very Microsoft based, but it does seem to be changing
especially in the
last few years.
We don't we get a site together where we can have some sort voting poll
The more users we get voting on this p
I'm another South African, and I think my wife is tired of hearing the same
thing!
South Africa is very Microsoft based, but it does seem to be changing
especially in the
last few years.
We don't we get a site together where we can have some sort voting poll
The more users we get voting on this p
rather have a link like -> somepage.php?signout=true
on that page...
if($_GET['signout'] == true){
session_destroy();
header("location: someotherpage.php");
}else{
// do something else
}
"Natalia Sensini" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I want to destroy a s
On 17 February 2004 12:45, Roddie Grant wrote:
> Hmm, I hadn't actually looked at the JavaScript - just at the
> description of how postcodes are structured. But the link to the
> Royal Mail site is much better for that. If only Royal Mail
> had remembered programmers when they thought up the pos
rather have a link like -> somepage.php?signout=true
on that page...
if($_GET['signout'] == true){
session_destroy();
header("location: someotherpage.php");
}else{
// do something else
}
"Natalia Sensini" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I want to destroy a s
You do have some nice scenery.
My son is in the Texas Boys Choir and they hosted the Drakensberg Boys
Choir. We are going to Drakensberg in the summer after Europe and can't
wait to see it other than pictures.
> -Original Message-
> From: Jakes [mailto:[EMAIL PROTECTED]
> Sent: Tuesday,
Hello Everyone,
I am making use of the following login module. However, it tells the
user to login at least twice even if the username and password are
correct. The data flow model is explained below :
The first 'correct' attempt will result in the user being redirected to
the "logged_in.php"
Hi All,
I'm using the next code:
The browser encoding is set on Windows-1255..
what's the problem?
-thanks, Lorderon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can I while this? Not sure how to go about it?
while ($pieces exist) {
echo $pieces[i];
}
Thanks,
John
$pizza = "piece1 piece2 piece3 piece4 piece5 piece6";
$pieces = explode(" ", $pizza);
echo $pieces[0]; // piece1
echo $pieces[1]; // piece2
http://www.php.net/manual/en/function.explode.php
h
Does anybody know what this error can meen?
Parse error: parse error, unexpected T_VARIABLE in
/www/htdocs/rolfvand/thinkquest/browsercheck.php on line 46
What is a T_VARIABLE?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If you do this, make sure you name your submit button "Submit" or
something else, but not "submit" :)
Shaunak Kashyap wrote:
Yes, you can use elementary javascript to achieve that goal.
Just make a link (anchor) as you normally would and make the value of its
href attribute "javascript:document.
On Tue, 2004-02-17 at 11:03, John Taylor-Johnston wrote:
> Can I while this? Not sure how to go about it?
>
> $pizza = "piece1 piece2 piece3 piece4 piece5 piece6";
> $pieces = explode(" ", $pizza);
> echo $pieces[0]; // piece1
> echo $pieces[1]; // piece2
Try while(each($pieces)) or foreach($pie
John Taylor-Johnston wrote:
Can I while this? Not sure how to go about it?
while ($pieces exist) {
echo $pieces[i];
}
This will empty the array so you might want to do this on a copy of it
depending on whether it will be needed later in the script...
while (count($pieces) > 0)
{
echo array_s
Rolf van de Krol wrote:
Does anybody know what this error can meen?
Parse error: parse error, unexpected T_VARIABLE in
/www/htdocs/rolfvand/thinkquest/browsercheck.php on line 46
What is a T_VARIABLE?
Could be an unclosed quote, or a number of other things. Post a few
lines around line 46 and we c
I can do this, but want to understand how to while it: Or should I?
$tempslices = explode("\r\n", $pizza);
foreach ($tempslices as $singleslice)
{
echo "http://www.foo.org$singleslice\";>$singleslice ";
}
Still learning :)
John Taylor-Johnston wrote:
> Can I while this? Not sure how t
On Tue, 2004-02-17 at 11:02, Adam Bregenzer wrote:
> Try while(each($pieces)) or foreach($pieces as $piece)
Brain to fingers problem:
while($piece = each($pieces))
http://www.php.net/each
http://www.php.net/foreach
--
Adam Bregenzer
[EMAIL PROTECTED]
http://adam.bregenzer.net/
--
PHP General
Hi,
Just installed a new RedHat 7.3 system.
1. I upgraded to PHP 4.3.4
2. I upgraded to MySQL 4.0.17
3. Restarted Apache; I even rebooted!
When I run phpinfo() in my web browser, it shows:
Client API version: 3.23.58
What's going on ???
Thanks,
Don
--
PHP General Mailing List (http://
That version number isn't the current version of MySQL PHP is running with,
it doesn't have one. PHP can be (and before 5.0 is by default) compiled with
MySQL client libraries so it is able to access MySQL databases.
The version of PHP you have installed was compiled with the 3.23.58 client
librar
You are using built-in mysql support. It uses that version of the API
you would have to compile with your own version of mysql to change that number
-Dave
At 11:26 AM 2/17/2004, Donpro wrote:
Hi,
Just installed a new RedHat 7.3 system.
1. I upgraded to PHP 4.3.4
2. I upgraded to MySQL 4.0.17
3. R
From: "Donpro" <[EMAIL PROTECTED]>
> 1. I upgraded to PHP 4.3.4
> 2. I upgraded to MySQL 4.0.17
> 3. Restarted Apache; I even rebooted!
>
> When I run phpinfo() in my web browser, it shows:
>
> Client API version: 3.23.58
>
> What's going on ???
That's usual, as far as I can tell. That just means
From: "John Taylor-Johnston" <[EMAIL PROTECTED]>
> I can do this, but want to understand how to while it: Or should I?
>
> $tempslices = explode("\r\n", $pizza);
> foreach ($tempslices as $singleslice)
> {
> echo "http://www.foo.org$singleslice\";>$singleslice ";
> }
>
> Still learning :
Hi,
Has anyone written a regular expression for validating a UK Postcode?
Many thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
Has anyone written a regular expression for validating a UK Postcode?
[/snip]
Nope, but I did write a love note to a French woman.
Sorry, couldn't resist. :) I'll be here all week.
Can you provide several examples and perhaps we could formulate one?
--
PHP General Mailing List (http://ww
Have a questions about sessions. In building a simple app do I have to
include the session id in the url string or in a hidden tag? or does it
normally track it by cookies and so I dont have to call it on every page?
thoughts on best way to do this
--
Hi Shaun,
Not that I know of - although I have looked at various things like this
myself. Would you be interested in a small open source project on this
subject?
I see you instigated the discussion on this earlier today. It might be
something worth putting on PEAR, and somehow linking it with t
More info about the parse error of my previous post:
The lines 45-46:
$mysql_query = "INSERT INTO
sessions(sessionid,ver,agent,bwinf,screenwidth,screenheight,availwidth,avail
height) ";
$mysql_query .=
"VALUES('$sessionid','$ver','$agent','$bwinf',$scrwidth,$scrheight,$availwid
th,$availheight)";
[snip]
More info about the parse error of my previous post:
The lines 45-46:
$mysql_query = "INSERT INTO
sessions(sessionid,ver,agent,bwinf,screenwidth,screenheight,availwidth,a
vail
height) ";
$mysql_query .=
"VALUES('$sessionid','$ver','$agent','$bwinf',$scrwidth,$scrheight,$avai
lwid
th,$availhe
followup...
Paul Furman wrote:
Ugh, I think I'm done for the day. header() requires output buffering
which would span several files and sounds like another mess.
Well, for now, I set up some of the links to maintain the $pics variable
in the url as a $_REQUEST and circumvented the header() mes
Disaster!
After uphrading to MySQL 4.0.17, I uninstalled all the old PHP-4.1.2 RPMs
and recompiled PHP-4.3.4. Now I am getting compiling errors related to PHP.
/usr/local/php-4.3.4/ett/mysql/php_mysql.c:1158 undefined reference to
'mysql_create_db'
/usr/local/php-4.3.4/ett/mysql/php_mysql.c:120
[snip]
That's not the problem.
I want the last for values aren't enclosed with single quotation marks.
I think it's a weird problem.
This lines executed on the server of my ISP give this error.
The same lines executed on my server on my localhost (Apache 1.3.29, PHP
4.3.2, MySQL 3.? and Win2K) don'
Jay Blanchard wrote:
[snip]
More info about the parse error of my previous post:
The lines 45-46:
$mysql_query = "INSERT INTO
sessions(sessionid,ver,agent,bwinf,screenwidth,screenheight,availwidth,a
vail
height) ";
$mysql_query .=
"VALUES('$sessionid','$ver','$agent','$bwinf',$scrwidth,$scrheigh
Jay Blanchard wrote:
[snip]
More info about the parse error of my previous post:
The lines 45-46:
$mysql_query = "INSERT INTO
sessions(sessionid,ver,agent,bwinf,screenwidth,screenheight,availwidth,a
vail
height) ";
$mysql_query .=
"VALUES('$sessionid','$ver','$agent','$bwinf',$scrwidth,$scrheight,
I am having trouble with a string becoming truncated at an '&'
character. I am passing the variable via a link
(http://...&campaign=MBI%20List%20-%20Steel%20&%20Concrete) and then
when I try to grab the incoming value of campaign into a SELECT query,
it becomes
SELECT sum(sends) from campaigns
Finally I found the problem... I post it because could help to others...
The problem was that PHP ftp module use a fixed tmp directory (at least
I could not change it). That dir is /var/tmp and that dir was not
present in my chrooted environment. I create it, set permissions and
that was it.
Bye !
Try this one:
$postcode2 = strtoupper(str_replace(chr(32),'',$postcode));
$pc_suffix = substr($postcode2,-3,3);
$pc_prefix = substr($postcode2,0,(strlen($postcode2)-3));
if (!preg_match('/(^[A-Z]{1,2}[0-9]{1,2}|^[A-Z]{1,2}[0-9]{1}[A-Z]{1})$/',$pc_prefix)
&& !preg_match('/^[0-9]{1}[ABD-HJLNP-UW-Z]
Have you tried using '&' ?
Chris Bruce wrote:
I am having trouble with a string becoming truncated at an '&'
character. I am passing the variable via a link
(http://...&campaign=MBI%20List%20-%20Steel%20&%20Concrete) and then
when I try to grab the incoming value of campaign into a SELECT quer
On Wednesday 18 February 2004 01:11, Donpro wrote:
> After uphrading to MySQL 4.0.17, I uninstalled all the old PHP-4.1.2 RPMs
> and recompiled PHP-4.3.4. Now I am getting compiling errors related to
> PHP.
>
> /usr/local/php-4.3.4/ett/mysql/php_mysql.c:1158 undefined reference to
> 'mysql_create
From: "Chris Bruce" <[EMAIL PROTECTED]>
> I am having trouble with a string becoming truncated at an '&'
> character. I am passing the variable via a link
>
> (http://...&campaign=MBI%20List%20-%20Steel%20&%20Concrete) and then
> when I try to grab the incoming value of campaign into a SELECT quer
Sounds like a good idea,
This seems to be the current spec:
http://www.govtalk.gov.uk/gdsc/html/noframes/PostCode-2-1-Release.htm
"James Nunnerley" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi Shaun,
>
> Not that I know of - although I have looked at various things like this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
http://...&campaign=MBI%20List%20-%20Steel%20&%20Concrete (wrong)
http://...&campaign=MBI%20List%20-%20Steel%20%26%20Concrete (right)
where does that url come from?
is it generated by a script?
if it is, you must urlencode() it before outputing, not whe
The problem is that the '&' character is already in a database. I am
trying to do a query where I need to have it as '&', but like I said,
when it comes into the script from the url it gets truncated.
--
Chris Bruce
[EMAIL PROTECTED]
Idextrus
E-Business Architects
http://www.idextrus.com
3282 W
John, Thanks. It's a question of understanding it. I can get a foreach to work, but my
while doesn't.
>There's no real reason to use while() over foreach(). Why do you think you
>need to use while()?
Rather than ask people to code for me, I'm trying to spend a little extra time to try
and learn
You are right John. I have it working now. Thanks.
--
Chris Bruce
[EMAIL PROTECTED]
Idextrus
E-Business Architects
http://www.idextrus.com
3282 Wilmar Cres.
Mississauga, ON
L5L4B2
CA
905.828.9189
This e-mail and its contents are pri
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
the problem is the '&' on the url
http://...&campaign=MBI%20List%20-%20Steel%20&%20Concrete
^
|
there>
this url is saying:
<[EMAIL PROTECTED]>
Richard Davey:
> Hello mayo,
>
> Monday, February 16, 2004, 3:51:30 PM, you wrote:
>
> m> As for my email being harvested because I wrote it out
> m> ([EMAIL PROTECTED]). Well I'll change it to
> m> something else. :-)
>
> There are other ways - spam bots can actually subscribe
On Tue, 2004-02-17 at 13:01, John Taylor-Johnston wrote:
> $tempauthors = explode("\r\n", $mydata->AuthorList);
> foreach ($tempauthors as $singleauthor)
> # while($tempauthors = each($singleauthor))
> {
> echo "http://www.foo.org$singleauthor\";>$singleauthor ";
> }
First of all, you ar
<[EMAIL PROTECTED]>
Leif Gregory:
> Hello Leif,
>
> Monday, February 16, 2004, 7:13:30 PM, you wrote:
>>PHPTest http://www.resynthesize.com/code/phptest_info.php
>
> Just a followup. I found out that the PHPTest showing just a blank
> page was a mistype in my config.inc.php file. It now shows m
[EMAIL PROTECTED]>
Petcol:
> Jason,
>
> What I shock, 307,000 entries returned.
>
> Maybe someone with ability greater or other than I, should give some
> serious consideration to a solution or work around.
>
> I've been using ColdFuion for 7 years and I can do a url="anotherlocation.htm"> anywher
Matt Matijevich wrote:
I want to be able to simply FTP a new movie
onto the server, and then have the menu update itself. possible? I
would also be looking to do something similar with JPGS.
here is some code to help start you
Here's another example:
(more error checking probably needed)
h
[EMAIL PROTECTED] wrote:
Have a questions about sessions. In building a simple app do I have to
include the session id in the url string or in a hidden tag? or does it
normally track it by cookies and so I dont have to call it on every page?
thoughts on best way to do this
I'm trying to learn
Yours ID rtvfrh
--
Thank
<>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- Chris Bruce <[EMAIL PROTECTED]> wrote:
> I am having trouble with a string becoming truncated at an '&'
> character. I am passing the variable via a link
>
> (http://...&campaign=MBI%20List%20-%20Steel%20&%20Concrete) and then
> when I try to grab the incoming value of campaign into a SELECT
1 - 100 of 168 matches
Mail list logo