Hi,
I am creating a shopping cart but experiensing some difficulty in creating
unique shopping carts for each user. When I try to create a session I get
this error message:
Warning: session_start(): Cannot send session cookie - headers already sent
This is the code:
if(isset($_COOKIE["cartId"]))
TECTED]
> Have you already sent anything to the browser? Once the first echo has
> been performed, you can't send header information, as the header is
> sent with the first bit of text.
>
>
> On Friday, Oct 31, 2003, at 15:47 Europe/Amsterdam, Tore E. Mackay
> wrote:
>
> &g
Why PHP is a recursive acronym?, I know that before was called
Personal Home Page, I now is Hypertext PreProcessor, but why is
recursive?, I person told me that it could be wroten as Pre Hypertxt
Processor, thanks.
PHP stands for "PHP: Hypertext Preprocessor". It's called a recursive
acronym be
Correction: I meant to say: Are session variables stored server-side or
client-side like cookies?
The session data is stored on the server. The session cookie (if there
is one) is stored in the browser.
How do I go about making a session last longer that the duration of
the
browser?
Set the expi
that
behaviour in any of those. So, care to tell us which M$-Windows mail program supports
this?
Thanks,
Glenn
--
Glenn E. Sieb
System Administrator
Lumeta Corporation
+1 732 357-3514 (V)
+1 732 564-0731 (Fax)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Or go up to http://winscp.vse.cz/
Great little program :)
G.
--
Glenn E. Sieb
System Administrator
Lumeta Corporation
+1 732 357-3514 (V)
+1 732 564-0731 (Fax)
> -Original Message-
> From: Pablo Gosse [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 11, 2003 10:50 AM
&
Somebody could say to me if something special exists to form for the
treatment of the sessions in a Php Windows server?
I have a code that works perfectly in Apache, nevertheless, when
executing it in a Windows server the sessions do not activate.
I am using php 4.3.3 like ISAPI. There
I have a dynamic table to update registries.
In this table there are fields to relate to other tables.Therefore, I create
"select" to show them.
These behaviors of server, perfectly work in the servant apache but in the
one of Windows, simply n shows nothing to me in the pagina.
When exemp
Good, I follow with Windows ISAPI PHP Server:
Now the IIS, in the card: " ISAPI FILTERS " show me "php" with arrow
red and downwards. It says NOT LOADED.
Somebody knows so that this can happen?
The archives and declarations is correct, just as route a
"phpîsapi.dll". I have returned to form the
32
> 3 . Copy php4ts.dll to c:\windows\system32
> 4 . Copy php.ini to c:\windows\system32
> 5. go ISAPI Filters and add .php (c:\windows\system32\phpisapi.dll)
> 6. go Application Configuration select Mappings tab and add new extentions
> mapping .php (c:\windows\system32\phpisapi.dll)
>
Hello, somebody knows like turning a file HTML or php to pdf by means of
pdflib but without having to write line to line?
that is, a file already existing php or HTML, can be turned with pdflib?
This I ask it because to where it studies pdflib, exit pdf is due to write
line by line and
I have 2 list fields in a form. The second is populated basing on
selection in field 1. Can anyone pls tell me how to do this in PHP ?
You can't do this with PHP. PHP is server side which means it only
reacts after a request has been made to the server (by loading a Web
page or submitting a form
I have a php page to update records of a table.
There are two fields that are used to relate to other tables reason why they
are like list/menu.
The problem is that these "select" must show the list to me of elements of
the table that contains the data but the selected value must update the
t
I have a php page to update records of a table.
There are two fields that are used to relate to other tables reason why they
are like list/menu.
The problem is that these "select" must show the list to me of elements of
the table that contains the data but the selected value must update the
t
thanks you very much
--
-
"Are you still wasting your time with spam?...
There is a solution!"
Protected by GIANT Company's Spam Inspector
The most powerful anti-spam software available.
http://mail.spaminspector.com
"Justin
i can't show two dinamic list/menu per page. the server say: too many server
behaviors
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I can't get onto bugs.php.net right now for some reason so I will post this
in here and hope someone finds it.
I've recently installed and set up Horde / IMP to access my email from
remote. I'm running the Courier mail system and its IMAP daemon. I also
have UW IMAP 2002e built into PHP v4.3.4 a
I still can't access anything on bugs.php.net so I'm not sure exactly what
you need. I grabbed all of the execute() frames, though, and ran that print
function and got this:
(gdb) print (char
*)(executor_globals.function_state_ptr->function)->common.function_name
Attempt to extract a component of
php-4.3.4/main/main.c:1729
1729retval = (zend_execute_scripts(ZEND_REQUIRE
TSRMLS_CC, NULL, 3, prepend_file_p, primary_file, append_file_p) ==
SUCCESS);
Stu
-----Original Message-
From: E. Stuart Hicks [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 2:07 PM
To:
AIL PROTECTED]
Sent: Friday, January 23, 2004 5:34 AM
To: [EMAIL PROTECTED]
Cc: E. Stuart Hicks
Subject: RE: [PHP] Segmentation fault problem
the function who is causing the seg fault is preg_match_all
maybe this helps (http://bugs.php.net/bug.php?id=20698):
[28 Nov 2002 6:26am EST] thingol at mail do
Didn't help. I did, however, narrow it down to one line, though.
This consistently crashes PHP with a seg fault.
Stu
-Original Message-
From: E. Stuart Hicks [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 11:46 AM
To: 'Martin Luethi'; [EMAIL PROTECTED]
Su
Between Amazon.com, SCO, UCITA, the Microsoft antitrust case, and many other
'incidents' thus far, there are many other collective groups of people that
understand trademark and copyright law better than us geeks. Our field is
growing fast and promises to be lucrative as it matures and redefines l
Oops. Make that 'there *aren't* many other collective groups...'. My
typing's a bit off today.
-Original Message-
From: E. Stuart Hicks [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 6:26 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Why we love Mic
come
>each time...
[snip]
Have you checked the rights the PHP-User has on the directory and file?
...ebird
>O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP General Mailing List (http://www.php.net/)
To unsubs
Pragma: no-cache");
[snip]
You're missing a double quote at the gmdate phrase. Use
header("Expires: " . gmdate("D, d M Y H:i:s") . " GMT");
...ebird
>O Ernest E. Vogelsinger
(\)http://www.
d will be passed to the 404 handler. Within the
404 handler, parse the url, extract the session id and parameters, and
execute the .php file.
Just as an example,
...ebird
>O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP General Mailing
all I can find are methods
>to convert the current date/time to a Unix timestamp.
>
>Can anyone give me an example? iewhat date/time does 977676902 come
>out to?
[snip]
Perl says it is "Sun Dec 24 17:55:02 2000"
...ebird
ive. Have you ever tried or consideredmaking money
>using the
>medium of the internet? Are you marketing or promoting a business
>opportunity or product
[trash]
...ebird
>O Ernest E. Vogelsinger
(\)http://www.1-at-
information for Internet
# sites.
Specifically this is registered for "ba":
Top-level domain : ba
Description : Bosnia and Herzegowina
NIC handle : ba6-dom
WHOIS server :
RWHOIS server :
Web-based query :
E-mail query :
Last updated : 21 Jun 2000 12:54:00 -0400
More about "
t; returns true
unset($myvar);
isset($myvar) => returns false
empty($myvar) => returns true
My advice: avoid comparing to false or true (and since these are constants,
don't put them in quotes ;->).
// bad way
if (isset($myvar) == false)
// better way
if (!iss
At 19:07 22.02.2001, Joe Stump said:
[snip]
>I'll take an extra bazillionth of a second to know for sure
>I have what I need
[snip]
Do you really know _how_ right you are?
...ebird
>
.ebird
>O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
nction for any value.
Example:
";
echo $time;
echo "gettime = $gettime";
?>
...ebird
>O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTE
[snip]
Visit PHPEd home page at http://www.soysal.com/PHPEd
...ebird
>O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
using a random value as SEARCH parameter, e.g.
http://www.myhost.com/myapp.php?rv=0987412&...other parameters
Your application must ensure that the random value is as random as
possible. This makes the URL "unique" and will bypass any ill-behaved cache
(it won't help if the use
t;,
"blah2",
"some_value2")));
print(showArray(null, $a);
?>
this should recursively go into multi-dimensional arrays and construct an
output similar to your requirements.
...ebird
>O Ernest E. Vogelsinger
[snip]
is not
contained in , mask
Enter Address:
Enter Network:
Enter Subnetmask:
[snip]
...ebird
>O Ernest E. Vogelsinger
(\) http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP Gener
isapi.dll) you need to down and restart the
IIS Admin service (Web Publishing Service is not sufficient). Reason: the
ISAPI reads the ini file once upon being loaded, and it remains loaded with
IIS until shutdown.
Hth,
...ebird
>O Ernest E. Vogelsinger
(\)http://www.1-at-web
low him
>and redirect in 403 Page.
[snip]
Anthony,
given the function contains_ip from my earlier post, you would code:
Access ForbiddenYou may not come here from outside our
domain";
exit();
}
process_domain_app();
?>
...ebird
>O Ernest
and thus deleting the session data returns an error code.
Try this - it should work:
";
echo "input type=submit>";
session_start();
session_register($value);
}
?>
...ebird
>O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ#
try to explicitly start it
- receiving an (old or outdated) PHPSESSID cookie from the browser?
Maybe Php decides it's not necessary to rewrite the URLs
...ebird
>O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP General Mailing L
lient or proxy
implementations might not properly support these lengths.
...ebird
>O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
f you start a session and register the
data to be remembered with the session, it will be available when the
browser comes back again (and presents the appropriate PHPSESSID value, of
course).
...ebird
>O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13
]
RTFM ;->
$$str = "blah";
print $monday;
...ebird
>O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
---
Make sure the entry is correct for .php extensions:
Executable: %phppath%\php.exe %s %s
Both "%s" must exist, or PHP will do nothing at all.
...ebird
>O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP
fine, as does all
other prices, this is the same with and without rounding.
Anything I should look for to solve this problem?
Martin.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
orary file in
c:\inetpub\wwwroot\jhaag\outreach\image_test.php on line
11
Any ideas? Is this a configuration thing?
Thanks.
-John Haag
O N E P O W E R F U L C L I C K
All4one Search Machine http://www.all4one.com
All4one Submission Machine http://www.all4on
multiple session keys, and you won't
"hang"
...ebird
>O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
ar as I know, all
syntax in manual talks about php4 syntax only. How am I going to do that?
[snip]
do nothing, PHP will assign the value for you.
...ebird
>O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
[snip]
Try "AND" instead of "&&", this should work as intended...
...ebird
>O Ernest E. Vogelsinger
(\)http://www.1-at-web.at/
^ ICQ# 13394035
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
----
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
PRINT "";
How do I get all this info from the table?
Thanks for any help.
Martin E. Koss
M: 07946-706459
E: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
ve me your
hands, thank you....
E K
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
Do the current Interbase functions support allowing the programmer to choose
whether he/she wants to open a transaction in 'wait' or 'no wait' status?
If not, which status are transactions opened as?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
Hi all,
I'm facing this serious problem where i can not ftp to my server. Any
idea to help to solve the problem? It could be possibly caused by the
ownership of the ftp folder. But, i don't know which folder is the right ftp
folder for me to change mode. Please h
I see that there is support for bzip2 and gzip in PHP, so I was wondering if
there was any standard zip support that I'm not seeing.
Stuart Hicks
Senior Programmer / Systems Administrator
The Affinity Group
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [
>news:[EMAIL PROTECTED]...
> On Tue, 8 May 2001, E. Stuart Hicks wrote:
>
> > I see that there is support for bzip2 and gzip in PHP, so I was
wondering if
> > there was any standard zip support that I'm not seeing.
> >
> I looked and couldn't find any. The be
ious updates that I must
have done to get Access 97 on Win 95 to work and also to do the same from
Access 2K on Win 98.
On both I have installed myODBC and MDAC2.5 but I'm still pulling my hair
out.
Any help will save my hair. Thanks.
Martin E. Koss
M: 07946-706459
E: [EMAIL PROTECTED]
--
little helpful code?
Thanks a lot to everyone.
- John Haag
O N E P O W E R F U L C L I C K
All4one Search Machine http://www.all4one.com
All4one Submission Machine http://www.all4one.com/all4submit
(614) 575-9897
--
PHP General Mai
7;s very urgent.
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
it, yet when it wont work when special chars such \n exist
between 'testing' and 'blah'.
Any ideas?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
ng? How can I get $open's value
> from this file?
>
> Thanks!
>
> Jaime
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administra
hanks for your advice
> venome
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To c
Can anyone verify this?
>
> chuck
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP G
neral Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Use Oracle if you want transactions. Yet, it's going to be slow.
Mysql is said to support transactions soon.
- Original Message -
From: "Hassan Arteaga" <[EMAIL PROTECTED]>
To: "Php (E-mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, May 23, 2001 4:55 PM
k lines.
>
> do I have to pass the lines through something like chop(), or
> html_spec_chars?
>
> How do you guys display php files to the screen in the HTML stream?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECT
w do i query to select the most repeated values in a field, say if I hacve
list of values as a,b,c,d,e to be submitted to a field call "result" in a
table. And I want to know which value appear most in that "result" field
amoung all records.
cheers
Jack
[EMAIL PROTECTED]
"Th
there any way to pull
an image out of a database using php? (i.e. store it in a different type of
field not image.)
Any help is appreciated,
Thanks,
Zara
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
on", "joeyscon");
session_register("consultantid");
$consultantid = $consultantid;
# create query statement -- update image field in db using path $sqlr = "UPDATE
CONSULTANT SET image= '$patharola' WHERE consultantid=" . $consultantid; #
execute the sql statem
There are probably more elegant ways of doing this, but it works. :)
- Original Message -----
From: "Gonzalez, Zara E" <[EMAIL PROTECTED]>
To: "'Lerp'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 1:52 PM
Subject:
If I have a user input a file in an html form for uploading, is there any way
that I can pull the name of the file that was uploaded out some how?
For example, I have this code for my form:
Upload a file:
NOTE: Max file size is KB
Whe
A little more looking and I found my solution :)
Apparently php automatically makes some variables if you have track_vars turned
on.
http://php3.de/manual/en/html/features.file-upload.html
If anyone is interested.
Zara
-Original Message-
From: Gonzalez, Zara E
Sent: Thursday
Hi all,
I am having a problem with one of my forms. I was testing to see if it would
except data with apostrophes, and it doesn't. I thought maybe I had forgotten to
addslashes to the variables...but I had the addslashes in my code...
I was reading the manual page about addslashes to see if mayb
, but memory just climbs and
climbs until the script ends (if I run it with arguments that yield
smaller results).
Thanks,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list ad
x27;d be happy.
(Oh I'm using php 4.1.1 if that makes a difference since I believe the manual
said the $_* syntax started at 4.1.0?)
Thanks,
Zara
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
but they
aren't showing up there.
Help is appreciated,
Zara
-Original Message-
From: Gonzalez, Zara E
Sent: Friday, January 25, 2002 10:02 AM
To: 'PHP-General'
Subject: [PHP] Question: $_* etc or $HTTP_*_VARS etc
I am going through some code that I wrote recently and try
ables registered by the session module
(no $_FILES)
Ahh well. Now I know. Thanks.
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 1:11 PM
To: Gonzalez, Zara E
Cc: 'PHP-General'
Subject: RE: [PHP] Question: $_* etc or $HTTP_*_
I use http://www.phpwebhosting.com they're pretty good and cheap too.
Zara
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 11:07 AM
To: 'Thomas Edison Jr.'; [EMAIL PROTECTED]
Subject: RE: [PHP] Cheap, PHP, mySQL hosting!
http://www.nomo
I'd love a site like this. Let's do it quick before I go off traveling in May
(so I can find some great pubs to visit ;)
Seriously though, I haven't done much with GD (nor do I have a great deal of
freetime) but I'd be willing to help out as much as I could on this project if
anyone is serious ab
what I used:
We have tested this on apache 1.3.22, and apache 2.0.35, using php 4.1.2 and 4.2.0RC4.
It was able to completly kill our servers (not apache, the entire server). The loads
of the server will reach 50+. I have contacted apache about this and they said that it
is PHP related.
Dus
php.ini:
memory_limit = 8M ; Maximum amount of memory a script may consume
(8MB)
That is in there, I execute the code from a browser.
ps aux:
nobody 60155 84.6 16.8 88644 87424 ?? R 5:15PM 0:23.23
/www/bin/httpd
using 84.6% of CPU and 16.8% of Memory.
Dustin E. Childers
It does not stop after its execution time. We have let this run for 10+
minutes to see if it would crash the server, and it did. It does not affect
the person that loads the code in the browser, just affects the server
running the code.
Dustin E. Childers
Security Administrator. CEO, Digitux
It's a default PHP installation. We aren't calling set_time_limit(). I know
its an infinite loop, the point is that if a user wanted to attack a server
(happens every day) they would be able to use this method to take the server
down.
Dustin E. Childers
Security Administrator. CE
"If the user has enough access to the server to place files on it" ?
There are hosting places that have PHP and you can just upload the PHP
script through FTP and access it in your browser.
Dustin E. Childers
Security Administrator. CEO, Digitux Security, Inc.
http://www.d
. The most you could
probably do is take out your own server, but you never know what script
kiddies are willing to do in order to take down a server.
Dustin E. Childers
Security Administrator. CEO, Digitux Security, Inc.
http://www.digitux.net/
- Original Message -
From: "James Co
;
>
>Greetings,
> Manu
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
Regards,
Gunther E. Biernat
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a guest book , and I want to make sure that those people who sign the
guest book can't impersonate a member of the web site. the code below
checks the input string, which is the guestbook signer's name, against a
list of defined web site members. Is there any way to circumvent the code
as
m_rows($result);
echo "Query returned $rows row(s) of data.\n";
return $rows;
}
?>
Any help that anyone can provide would be a big help. Thanks in advance.
--
Joshua E Minnie/CIO
[EMAIL PROTECTED]
Phone: 616.276.9690
Fax: 616.342.8750
Nextel: 616.862.2847
"Don't wo
Can anyone help me understand why this code is not deleting the row from the
MS SQL db like it should.
= 0) echo "User successfully deleted.\n";
...
?>
I am running PHP 4.1.2 binary on Windows NT 4.0 with MS SQL Server 2000
running on Windows 2000.
--
Joshua E Minnie/CIO
[EM
ry() function. I am not seeing it ever
throw an error. It just doesn't delete.
Here is the URL of the running script:
http://www.acsurf.net/php_db/sql_test.php. I am trying to delete the
username josh.
--
Joshua E Minnie/CIO
[EMAIL PROTECTED]
Phone: 616.276.9690
Fax: 616.342.8750
Nextel: 616.
is the URL of the running script:
> http://www.acsurf.net/php_db/sql_test.php. I am trying to delete the
> username josh.
--
Joshua E Minnie/CIO
[EMAIL PROTECTED]
Phone: 616.276.9690
Fax: 616.342.8750
Nextel: 616.862.2847
"Don't work for recognition, but always do work worthy of recognition."
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does anybody know of a good way to make sure that a string contains ONLY
certain characters. I tried using
ereg("[~`!@#$%^&*(){}-+=|\\/.,<>'\":;\[\]]", $string); but I get parse
errors. Besides that I only want the characters A-Za-z0-9_ in $string. Is
there is simpler way to ensure this rather
pler way to ensure this rather than checking to see if any of
the characters I don't want are in there?
Thank you for your help in advance.
--
Joshua E Minnie/CIO
[EMAIL PROTECTED]
Phone: 616.276.9690
Fax: 616.342.8750
Nextel: 616.862.2847
"Don't work for recognition, but alwa
Worked great only you forgot to escape the carat character. Thanks for the
help.
Josh
"Miguel Cruz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Mon, 29 Apr 2002, Joshua E Minnie wrote:
> > Does anybody know of a go
Do you have some sample code that we could look at?
--
Joshua E Minnie/CIO
[EMAIL PROTECTED]
Phone: 616.276.9690
Fax: 616.342.8750
Nextel: 616.862.2847
"Don't work for recognition, but always do work worthy of recognition."
"1lt John W. Holmes" <[EMAIL PROTECTED]>
.
0) echo "User successfully deleted.\n";
else echo "User does not exist\n";
}
?>
*Running PHP 4.1.2 on Windows NT 4.0 with MS SQL Server 2000
--
Joshua E Minnie/CIO
[EMAIL PROTECTED]
Phone: 616.276.9690
Fax: 616.342.8750
Nextel: 616.862.2847
"Don't work for rec
not there.
So how do I detect that situation.
--
Joshua E Minnie/CIO
[EMAIL PROTECTED]
Phone: 616.276.9690
Fax: 616.342.8750
Nextel: 616.862.2847
"Don't work for recognition, but always do work worthy of recognition."
"Steve Bradwell" <[EMAIL PROTECTED]> wrote:
>
That was exactly what I needed. Thanks, this group has been so helpful.
.:. Josh .:.
"Miguel Cruz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Tue, 30 Apr 2002, Joshua E Minnie wrote:
> > I tried that already, it al
I know that there is a built-in function for bin2hex(), but does any body
know have any code to do just the opposite, convert hex2bin?
--
Joshua E Minnie/CIO
[EMAIL PROTECTED]
Phone: 616.276.9690
Fax: 616.342.8750
Nextel: 616.862.2847
"Don't work for recognition, but always do work
701 - 800 of 1161 matches
Mail list logo