localhost is the name of your own machine, for others localhost means their
machines.
redirect to the network ip address or host name of your server instead of
localhost.
regds,
-Original Message-
From: K [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 09:47
To: [EMAIL PROTECTED
On Saturday 01 March 2003 06:30, Patrick Teague wrote:
> I'm trying to compile php on Mandrake 9, but this latest error during
> compile has me stumped as I've installed all the imap-devel type rpms.
>
> .
> checking for IMAP support... yes
> checking for pam_start in -lpam... yes
> checking fo
On February 28, 2003 10:41 am, Leif K-Brooks wrote:
> Try $timeb <> ''.
>
Well whatta ya know I learn something new every day.. I thought the
only valid not equal operator was !=... I'm used to using <> only
for SQL server stored procedures or VB..
leo
--
PHP General Mailing List (http://ww
On Friday 28 February 2003 23:28, Jim Long wrote:
> Hi,
>
> Does anyone know how to make the flag "sort_numeric" work?
> Will it work with asort?
>
> asort ($numeric_array, SORT_NUMERIC);
> I've tried this but it looks like it's having problems with the comma in
> big numbers.
What comma in big nu
> Curl will let you perform post operationgs, take a look at
> http://www.php.net/curl.
>
> Note you will need to have libcurl installed and PHP will have to be
> compiled with curl support.
>
> There are also probably classes that allow you to do post requests, take
> a look at the script reposito
The industrial strength way to do this is to use the curl functions. See
php.net/curl. You can alternatively just fsockopen yourself and issue the
request and see what the first line of the response is.
(by the way, a slightly shorter .sig would be appreciated)
-Rasmus
On Sat, 1 Mar 2003, Phil
Try using exec() or backticks.
Philip J. Newman wrote:
Is there a way to PING a URL and check if it returns a valid code like 200
... ??
--
Philip J. Newman.
Head Developer
[EMAIL PROTECTED]
+64 (9) 576 9491
+64 021-048-3999
--
Friends are like stars
You can't allways see them,
but they
Is there a way to PING a URL and check if it returns a valid code like 200
... ??
--
Philip J. Newman.
Head Developer
[EMAIL PROTECTED]
+64 (9) 576 9491
+64 021-048-3999
--
Friends are like stars
You can't allways see them,
but they are always there.
--
Websites:
PhilipNZ.com - D
You don't need a regular expression. Look at the substr() function.
-Rasmus
On Sat, 1 Mar 2003, Philip J. Newman wrote:
> I would like to check for HTTP:// at the start of a string and for at least
> 1 . and a / at the end of a string.
>
> I have tried ereg, but the documentation is not too cle
I would like to check for HTTP:// at the start of a string and for at least
1 . and a / at the end of a string.
I have tried ereg, but the documentation is not too clear how to format.
--
Philip J. Newman.
Head Developer
[EMAIL PROTECTED]
+64 (9) 576 9491
+64 021-048-3999
--
Friends
If I exec a command like ifconfig, I'd like to be able to parse. What is
the best way to go about thihs? An example output from ifconfig is:
[EMAIL PROTECTED]:/var/log> ifconfig
eth0 Link encap:Ethernet HWaddr 00:C0:4F:AB:F9:59
inet addr:192.168.1.200 Bcast:192.168.1.255 Mask:2
I run the following script:
// the page loads o.k. when the semi-colon remains as in:
;extension=php_gd2.dll
but if I remove the semicolon as in:
extension=php_gd2.dll
the page won't load and the server hangs up.
..
\\ this is my php.ini file on MS Win
I'm trying to implement the following functionality into the file test.php:
When I scroll down the page and then hit a button, the page should remember
the scrolled position, refresh the page and then scroll down to the
remembered position. I've almost managed to make this work, but only almost.
If you change the call to mysql_connect() instead of
mysql_pconnect(), does it work?
If so, your recent updates may have messed up the settings for
persistent connections.
On Fri, 2003-02-28 at 13:09, Henning wrote:
Hello
I use Apache/1.3.27 Server
I use to use a mysql-connection, but now th
on 01/03/03 4:41 AM, Hugh Danaher ([EMAIL PROTECTED]) wrote:
> try ereg_replace(",","",$value);
no need for ereg here...
str_replace(',','',$value);
:)
justin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on 01/03/03 3:52 AM, Don ([EMAIL PROTECTED]) wrote:
> Hi,
>
> I have a site that requires a user to login in for extended function. The
> site uses sessions. I note that if a user configures his/her browser block
> all cookies, he/she will not be able to navigate the extended part of the
> site
If you are on Unix/Linux when you compile PHP pass the --with-mysql
command on your configure line (i.e. ./configure
--with-mysql=/usr/local).
You might also take a look at the Installation section at
http://www.php.net/manual.
Jason
On Fri, 2003-02-28 at 13:09, Henning wrote:
> Hello
> I use Apa
Sounds like a web server configuration problem. If you are using apache
make sure your httpd.conf is configured to bind to your external IP
address (the default).
Jason
On Thu, 2003-02-27 at 21:17, K wrote:
> Hi all,
> I'm using JPGraph on a localhost for a website opened via a host redirect.
> M
Curl will let you perform post operationgs, take a look at
http://www.php.net/curl.
Note you will need to have libcurl installed and PHP will have to be
compiled with curl support.
There are also probably classes that allow you to do post requests, take
a look at the script repositories, hotscrip
I need to create some simple web forms for entering, changing, deleteing information
from a fairly simple MySQL database. This is to be for internal use, so doesn't have
to be really fancy or have alot of error checking.
I could make a form for each table myself, but I would think their is an
I was wondering about this, but decided to ask first first:
INSERT INTO ccl.ccl_main VALUES (select * from greid.ccl where id=28);
delete * from greid.ccl where id=28;
Both tables would have to have the same structure ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
Thanks to everyone who responded. I've figured it out. One of those ID 10 T errors.
I was not clearing some necessary variables further down in the loop.
Robbert van Andel
-Original Message-
From: Van Andel, Robbert
Sent: Friday, February 28, 2003 3:57 PM
To: Ernest E Vogelsinger
I had the same thought and it didn't work. I have verified that $cmts[$i] is a
different value then the previous iteration, but the second time through the same data
as the first time through is processed. I've even run the actually query that I
echoed onto the page through phpMyAdmin and veri
At 00:20 01.03.2003, Van Andel, Robbert said:
[snip]
>I have the following query:
>$query = "SELECT d.utilization, d.capacity_date, d.day, i.id, i.interface,
>cd.date, cd.id ";
> $query .= "FROM (capacity_data as d LEFT JOIN interfaces as i ON
>d.interfa
Yes, your correction is actually what I have. So the problem I'm facing is that
$result doesn't seem to empty when I run the query and nothing is returned by it.
Robbert van Andel
-Original Message-
From: Bryan Lipscy [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 3:40 PM
T
Shouldn't that be:
while($data=mysql_fetch_array($result))
{
//SSLT
}
NOTE: Added ) and changes $query to $result
-Original Message-
From: Van Andel, Robbert [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 3:21 PM
To: [EMAIL PROTECTED]
Subject: [PHP] MySQL Query Result Que
I have the following query:
$query = "SELECT d.utilization, d.capacity_date, d.day, i.id, i.interface, cd.date,
cd.id ";
$query .= "FROM (capacity_data as d LEFT JOIN interfaces as i ON d.interface =
i.id) ";
$query .= "LEFT JOIN capacity_date as cd ON d.capacity_date=cd.id ";
$query .=
Assuming MySQL can do this, I need to generate some code that would MOVE a record from
one table to another. Not just a MySQL code problem?
Pseudo code: base.table
select base1.table where id=25
insert result base2.table
delete base1.table where id=25
Can I even do this in MySQL? If so, what wi
okay so please help if you can...
a page with a form that submits to itself for verification starts a session if
its verified and registers the session variables, then header()s on into the
application... in the application is a logout button that submits to an action
page that unsets the sessi
I have a flash written to receive var from php file.
but I found one problem,
my problem is just can load the var from the file.
I have following AS code from a button. when I click this button twice, it
load up the var
but How can I load it befor the moive is going to play?
there is no point to
Exactly what did you download? Is it possible you downloaded a source
distribution?
Meteo wrote:
This was not a problem with the previous version of php, but when I downloaded the new version, and when I tried to install is on my web server that I have on my computer, I can't seem to find the p
Dave,
DOM> Maybe a script that tests the entry, and asks the user to reconfirm
DOM> nonstandard spelling and capitalization. Something like...
In many situations this would, I agree, be the ideal solution. But
this is for an ecommerce checkout, and the customer feels it is
important to make it a
I'm trying to compile php on Mandrake 9, but this latest error during
compile has me stumped as I've installed all the imap-devel type rpms.
.
checking for IMAP support... yes
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... (cached) yes
configure: error: Cannot find ima
This was not a problem with the previous version of php, but when I downloaded the new
version, and when I tried to install is on my web server that I have on my computer, I
can't seem to find the php executable file (php.exe), which I need to know where it is
in order to make it work correctly.
I tried to run the script directly from cron like:
* * * * * /usr/local/bin/php -q /path/to/cron/script/file_name
I also tried to run cron in the bash environment by writing a bash
script that calls my PHP script. I set cron you call the bash script
every minute. The bash script contained the f
i want to say something like this on the results page:
now try putting your code for the values here
the results
just put the the variables here... in your list..dont use the {} thing
because it might mess up the parser on things and you might not get what you
wanted..
so start your list an
You can use an open socket connection to send/recieve data to and from a remote host
however this method is less-than-ideal for the browser interface. So probably the
best way would be to use a hidden HTML form and javascript. The onLoad="" command
executes a function that submits the form whi
how can i get
users marcador in php
??
can some one help me on that ?
Have you researched anything at all?
go to http://hotscripts.com
Quoting Chris Edwards <[EMAIL PROTECTED]>:
### Hi
###
### Anyone have any suggestions on a good and cheap database design tool.
### I'm
### looking at something that has the features of MS Visio but thats way
### cheaper. I want
Thanks Chris,
I'm looking into them now. Can these be modified for such?
Dan
-Original Message-
From: Chris Edwards [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 4:30 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP Project for a newbie (me) or for hire?
you should check ou
Eh well I've never built a distance calculator but I have used a Census data
file for various other things. The text file is comma delimited. The
schema is as follows..
Field 1 - State Fips Code
Field 2 - 5-digit Zipcode
Field 3 - State Abbreviation
Field 4 - Zipcode Name
Field 5 - Longitude in
Hi
Anyone have any suggestions on a good and cheap database design tool. I'm
looking at something that has the features of MS Visio but thats way
cheaper. I want it to be able to help me build entity-relationship diagrams
and stuff.
Thanks.
--
Chris Edwards
Web Application Developer
Outer Banks
you should check out www.x-cart.com its sweet. another is
www.oscommerce.com
if you need something for reference, www.php.net
--
Chris Edwards
Web Application Developer
Outer Banks Internet, Inc.
252-441-6698
[EMAIL PROTECTED]
http://www.OuterBanksInternet.com
- Original Message -
Fr
Take a look here http://www.unf.edu/~hayg0001/php/pagetracker.php. I
have a script that you can use as a starting point. It is nothing fancy,
but it works. Every thing is stored in a database, where I can then
produce real time reports for the site.
~Guy Haynes
Michael Zornek wrote:
I'm ether
Why not use sessions?
- Original Message -
From: "Alex Shi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 3:09 PM
Subject: [PHP] Post method
> Hi,
>
> Any one know in a php script, if it is possible to simulate a post method?
> I mean I want to header() to an
Hi,
Any one know in a php script, if it is possible to simulate a post method?
I mean I want to header() to an url but don't like to embed the parameters
into that url.
Thanks in advance!
Alex Shi
--
==
Cell Phone Batteries at 30-50%+ off retail
Hey guys,
Can anyone here point me to a resource (not geozip) that can be used to calculate
the distance between two zip codes?
Thank you!
Arkady
--- Daniel Harik <[EMAIL PROTECTED]> wrote:
> > > Hello,
> > >
> > > I have 2 tables users table, that stores user info, and photos
> table,
> > > i want to select all users with one photo form photos table,
> but i don't
> > > want it to be photos * users = result.
> > >
> > > Is there way to do
Argh, I was thinking about the problem backwards, redirect the fp to stdout
is the way to do it.
if(!$argv[1]) $argv[1] = "php://stdout";
$fp = fopen($argv[1], "w");
fputs($fp,"blah\n");
fclose($fp);
On Fri, 2003-02-28 at 15:11, Jeff Bearer wrote:
> I'm working on a shell script in php. The scri
I'm ether looking to find or build my own open source php based script, that
would allow you to include a small code chunk on every page of a site and
then view statistics from the info, on what pages were viewed, how many
times, etc...
First, if there are any you know of and want to recommend, pl
Does anyone have any idea of why I may be getting this error, when my
scripts ran perfectly fine before (i don't know what). Is there some kind of
setting in my mail program that may have changed? I'm using Outlook with
Exchange Server.
Warning: Failed to Connect in d:\apache\htdocs/emailtest.php
on 2/28/03 3:15 PM, Daniel Harik at [EMAIL PROTECTED] appended the following
bits to my mbox:
> Thank You for your reply, but the problem is that users may have many
> photos, and i need to get only one, i use folllowing sql:
> SELECT users.username, photos.file FROM users left join photos on
> us
Hi,
I have a huge potential project and I'm fairly new to PHP. I've been
managing shopping carts for years for people, Miva Merchant, doing sites,
etc., but would like to try my hand at a custom PHP cart if possible. I Was
wondering if for the project requirements below ...
a.) Any PHP ready m
I'm working on a shell script in php. The script has an option to write
to standard output, or to a file. If the filehandle is opened I'd like
to redirect standard output to the file pointer. This would allow me
not to have to handle every output statement twice, once with an echo
and again with
Hello
I use Apache/1.3.27 Server
I use to use a mysql-connection, but now the apache support is gone.
Trying to connect to my MySQL-database gives following result:
Fatal error: Call to undefined function: mysql_pconnect() in...
How do I get the MySQL-support back?
Henning (newbie)
--
PHP Genera
On Thu, 27 Feb 2003, Michael Sims wrote:
|That's actually pretty cool, from a tech standpoint, but why not
|access the MS-SQL database directly? From Windows it's easy, you just
|need the SQL .dll's installed on the server, and from Linux/Unix you
|can build PHP with FreeTDS support (--with-sybas
hmmm
the question too is where do the variables get assigned and where is the
"form" or the query statements to the database for the info you need to
print out... maybe its something with that...
- Original Message -
From: "Stitchin'" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Frid
Hello,
We recently upgraded a development server running RH Linux 7.2 from Apache 1.3.26/PHP
4.2.3 to Apache 1.3.27/PHP 4.3.1.
A day after the upgrade, we started experiencing lost of connections to MySQL DB. The
DB server is in a remote server.
The error that I am getting is:
PHP Warning: my
> Are there any functions in PHP which can give us the coordinates of the
cursor when we click the mouse?
> Thanks for the replys.
If you use an image as your submit for your form, you can.
When that image is clicked on, you'll have
$_POST['image_x'] and $_POST['image_y'] as the coordinates wh
There we go. Thank You so much. I also found that I had another error in
my script and !is_numeric($timemb) did work after all.
Steve
At 10:41 AM 2/28/2003 -0800, you wrote:
See isset() and empty()
-Original Message-
From: Steve Buehler [mailto:[EMAIL PROTECTED]
Sent: Friday, February
At 19:28 28.02.2003, Steve Buehler spoke out and said:
[snip]
>I have a form that has input for minutes. My problem is that I am trying
>to test to see if the field is blank or not and if they enter a "0" (zero),
>my test always show it as blank. I have t
Try $timeb <> ''.
Steve Buehler wrote:
I have a form that has input for minutes. My problem is that I am
trying to test to see if the field is blank or not and if they enter a
"0" (zero), my test always show it as blank. I have tried !$timemb
and !is_numeric($timemb).
Thank You
Steve
--
Th
See isset() and empty()
-Original Message-
From: Steve Buehler [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 10:29 AM
To: PHP
Subject: [PHP] testing for < 0
I have a form that has input for minutes. My problem is that I am
trying
to test to see if the field is blank or not
At 17:52 28.02.2003, Don spoke out and said:
[snip]
>I have a site that requires a user to login in for extended function. The
>site uses sessions. I note that if a user configures his/her browser block
>all cookies, he/she will not be able to navigate the
I am sure you have tried this, but,
Do you call the full path to php for cron.
something like:
40 * * * * /usr/local/bin/php -q /home/user/phpcliscript
Hope this helps.
At 10:10 AM 2/28/2003 -0800, you wrote:
The path is
#!/usr/local/bin/php -q
But like I said, that can't be the problem becaus
> Is there a way (PHP code if possible please) to verify
> if session
> cookies are enabled in the user's browser?
On the *second* request, check if $_COOKIES['PHPSESSID'] is set.
On the initial request, PHP sends the 'PHPSESSID' cookie as part of the
response. The browser then returns that co
I have a form that has input for minutes. My problem is that I am trying
to test to see if the field is blank or not and if they enter a "0" (zero),
my test always show it as blank. I have tried !$timemb and
!is_numeric($timemb).
Thank You
Steve
--
PHP General Mailing List (http://www.php.net
Hi,
Figured it out.
I needed to reset my output array $numeric_array.
//strip the commas from numeric array so it can sort properly---
foreach($numeric_array as $key => $value ) {
if(strstr($value,","))
{
$value = ereg_replace(",","", "$value");
You might want to post some code so we can see why it is not running...
What do you get when you run the code from the commandline?
--
Ray
On Thu, 2003-02-27 at 21:30, Justin Michael Couto wrote:
> I am trying to run a PHP CLI script from cron using PHP 4.3 and FreeBSD
> 5.0
>
> This is what
I'm sorry, I missed a really big problem with what you're doing.
When you use foreach(), the value that it gives you (in your case, via the
$value variable) is not a reference to the array item, its a copy of it, so
modifying the copy doesn't modify your original array.
Use this (this should work
> > Hello,
> >
> > I have 2 tables users table, that stores user info, and photos table,
> > i want to select all users with one photo form photos table, but i don't
> > want it to be photos * users = result.
> >
> > Is there way to do it?
>
> Assuming you mean, you have a table called user_info a
The path is
#!/usr/local/bin/php -q
But like I said, that can't be the problem because when I run it from
the command line, it runs fine. The only problem I am having is that it
won't run from cron. That is why I think it is an issue with the cron
environment. All other types of scripts like
Hi,
Thanks to those who are helping me.
Matt,
Same result, echo's sucess, but commas are still out put in the $numeric_array.
Jim Long
Matt Wrote:
> foreach($numeric_array as $key => $value ) {
> if(strstr($value,","))
> {
> $value = ereg_replace(",","",$value)
I hit send right as I saw a typo (the ')' in the echo statement. Should be
this:
foreach($numeric_array as $key => $value ) {
if(strstr($value,","))
{
$value = ereg_replace(",","",$value);
echo "comma stripped";
}
}
-Original Message--
ereg_replace returns a string, regardless of whether or not any replacement
occured. If no replacement occurs, the original string is returned.
Additionally, it does not modify the original string, so you need to store
the string it returns:
foreach($numeric_array as $key => $value ) {
i
Hi,
Trying this:
//strip the commas from numeric array so it can sort properly---
foreach ($numeric_array as $key => $value) {
if (ereg_replace ("," , "", $value)){
echo("comma striped");
}
}
Does the same thing as before, echo's comma stripped, but does not
actually remove the commas
THAN
perhaps you are parsing out the spaces before inserting the vars in the
database?
- Original Message -
From: "Alberto Brea" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 7:58 AM
Subject: [PHP] Spaces collapsed in database
Hi, list
I had certain information in
Shouldn't it be
#!/usr/local/bin/php
Or was it just a typo here?
- Original Message -
From: "Justin Michael Couto" <[EMAIL PROTECTED]>
To: "'Ernest E Vogelsinger'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 12:09 PM
Subject: RE: [PHP] Can't run PHP cli
try ereg_replace(",","",$value);
- Original Message -
From: "Jim Long" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 9:17 AM
Subject: [PHP] strip comma from $value
> Hi,
>
> I've figured out the way to solve my problem is to get rid of the commas
> before I
Hello,
I posted the other day with a problem about an problem with PHP being
accessed via Flash. I did get it working, actually the problem was what
John Nichel Suggested with the hosting company not setting up to parse php
with *.html .
Now the problem I have is that one person on a Mac told
Hi,
I've figured out the way to solve my problem is to get rid of the commas
before I sort.
Trying to use this:
//strip the commas---
foreach ($numeric_array as $key => $value) {
if (stristr($value, ",")){
//test to see if it worked
echo("comma striped");
}
}
--
I
A basic html input command using an image will enable you to send the
coordinates of the mouse to the next script.
your x,y variables will become $coordinate_x,$coordinate_y
- Original Message -
From: "Minghua Yao" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 28,
Yep, that did it. Thanks.
- Original Message -
From: "Ernest E Vogelsinger" <[EMAIL PROTECTED]>
To: "Beauford.2002" <[EMAIL PROTECTED]>
Cc: "PHP General" <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 10:50 AM
Subject: Re: [PHP] Sorting a file
> At 16:41 28.02.2003, Beauford.2002 spo
I can run it from the shell prompt perfectly fine. I just won't run
from cron.
I do have the statement:
#!/usr/local/php
In the beginning of my script. Like I said it works perfect when I run
it by hand from the shell prompt. I think the reason it is not running
has to do with the cron envi
Hi, all,
Are there any functions in PHP which can give us the coordinates of the cursor when we
click the mouse?
Thanks for the replys.
Minghua
Hi,
I have a site that requires a user to login in for extended function. The
site uses sessions. I note that if a user configures his/her browser block
all cookies, he/she will not be able to navigate the extended part of the
site. Is there a way (PHP code if possible please) to verify if sess
Is it the Win IIS authentication system ??? or apache .htaccess
Daniel E Massón.
Ingeniero de desarrollo
[EMAIL PROTECTED]
Imagine S.A.
Su Aliado Efectivo en Internet
www.imagine.com.co
(57 1)2182064 - (57 1)6163218
Bogotá - Colombia
__
Tried setting it to NULL and unset(com_onject).
Neither are working. I'm stumped.
On Thu, 27 Feb 2003 23:35:23 +, Rich Gray wrote:
>> When using the COM functions in PHP what is the equivalent of
>> ASPs "set object=nothing"?
>> I am using the Crystal Report objects and I cannot seem to
>>
"K" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi guys,
> I would like to read the IP address from a PC that connects to my web
site.
> Any function does that in PHP?
SuperGlobal var in >= 4.1.0:
$_SERVER['REMOTE_ADDR']
Global var in < 4.1.0:
$HTTP_SERVER_VARS['REMOTE_ADDR']
S
Thanks everyone! it worked fine now!
-Original Message-
From: Tom Rogers [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 10:58 AM
To: Poon, Kelvin (Infomart)
Cc: '[EMAIL PROTECTED]'
Subject: Re: [PHP] Help with Sessions
Hi,
Saturday, March 1, 2003, 1:54:24 AM, you wrote:
PKI>
Hi, list
I had certain information in a text file, which showed ok upon fopen() and parsing,
but when I put it into a MySQL database, instead of echoing directly into the browser,
the spaces in the strings collapsed, so that "One Two & Three" became "OneTwo&Three"
in the database table. When I r
Hi,
Saturday, March 1, 2003, 1:54:24 AM, you wrote:
PKI> Hi
PKI> I just have a little problem with sessions.
PKI> my code:
PKI>
PKI> TEST
PKI>
PKI>
PKI> session_start();
PKI> if ($submit) {
PKI> echo 'Hello '.$_SESSION['ID'];
PKI> } else {
PKI> $_SESSION['ID']=2;
PKI> echo "\n";
PKI>
Maybe a script that tests the entry, and asks the user to reconfirm
nonstandard spelling and capitalization. Something like...
if ($name != ucwords($name) {
//script that suggests ucwords($name) as a possible correction
//but allows the user to confirm nonstandard capitalization scheme
//by re-en
At 16:46 28.02.2003, Diana Castillo spoke out and said:
[snip]
>is there any predefined procedure to strip http headers from a response?
[snip]
A valid HTTP response is a MIME message comprised of two parts - the head
At 16:41 28.02.2003, Beauford.2002 spoke out and said:
[snip]
>I have the file below which I need to sort by player and then rewrite it,
>this file will then be used as part of another part of my input process on
>my site. A couple of things. I am able to rea
Hi
I just have a little problem with sessions.
my code:
TEST
\n";
echo "\n";
echo "\n";
}
?>
my error msgs:
Warning: Cannot send session cookie - headers already sent by (output
started at d:\apache_docroots\internal.infomart.ca\infodesk\test.php:6) in
d:\apache_docroots\internal.infom
is there any predefined procedure to strip http headers from a response?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi again,
My problem was about authentication without the default popup, but with
a form that submits the credentials. I still didn't get it to work, so
I'd like to know if anyone has ever done anything like that. I just
can't get it to work right and I'd like to see a working script
thx,
Olive
I have the file below which I need to sort by player and then rewrite it,
this file will then be used as part of another part of my input process on
my site. A couple of things. I am able to read the file into an array using
'file', I think, but I am not able to sort it. I have tried different
vari
Hi,
Does anyone know how to make the flag "sort_numeric" work?
Will it work with asort?
asort ($numeric_array, SORT_NUMERIC);
I've tried this but it looks like it's having problems with the comma in
big numbers.
I'm not absolutely sure, but it looks like it's ignoring everything
after a comma
1 - 100 of 146 matches
Mail list logo