Check out http://www.wotsit.org for the exact csv specifications but here is
a snippit that works for me:
function csv($value) {
if (strstr($value, ,) || strstr($value, \n) || strstr($value, \r)) {
return \ . str_replace(\, \\, $value) . \;
} else {
If it is in Mysql format why not reimport into a database and write an
export script... that does the work?
Timothy Hitchens (HITCHO)
[EMAIL PROTECTED]
HITCHO has Spoken!
-Original Message-
From: Owen Prime [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 8 October 2002 4:31 PM
To:
Thomas Weber schrieb:
Hi,
i'm running a selfmade PHP-chat since one and a half year, currently version
3. Maybe we can share some ideas
The image-idea is interesting, but would take heavy bandwith i think.
My chat runs over a simple dsl-line with 256kbit upstream, there are up to
50
Sessions problems in 4.2.3, with register globals off
Ok I got an email that gave me where some code was wrong, I said thanks and never
tested it!
Fixing the code it still dont work. SO I thought id make a simple code to test
sessions, and that don't work. What am I doing wrong??!! The
Hi,
I want to pass some 10 to 15 parameters as input to an C Program. Does passing it
as command line argument through PHP using backquotes or system function is an
effective way to solve this issue or there are some other alternative which does this
without affecting the performance.
I was now trying the snapshot with the aim of providing a different expire
for eg user kris (admin), than anoter user (not admin).
So I defined the Example_Auth (eg the admin only showoff) with a lifetime=1,
and a example_default_auth with a lifetime of 3 minutes.
But when I am visiting, as
Why don't you just do a hard backup of the files from the db. Find out the
location of the data folder where thd db saves its tables, perform a tar
cvzf data_folder and then pipe it directly to the user for download via
http.
Havent tryed it that way, but should work. Another thing would be
Hi,
I wish test the session. I use php 4.2.3 et session.auto_start is 1.
My first example is :
html
head
titleSession example/title
body
?php
if ( !isset($_SESSION['count']) )
{
$_SESSION['count']= 1;
}
else
{
$_SESSION['count']++;
}
if ( $_SESSION['count'] 5 )
{
$cpt =
-[ Rene Brehmer ]- [EMAIL PROTECTED] writes:
Firstname Middlename Last-name
But I want the last namepart after the slash (-name) to also start
with a capital letter.
Just read the comments on ucwords() in the PHP manual, especially the
one from Joerg Krause. He writes:
| None of the
Hi people:
Can anyone tell me if I can execute windows calculator trought a PHP script
on a web page to allow customers to check final prices?!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Unfortunately no, because the calculator is a Windows application that
runs on your local desktop and cannot be seen by your web-based users.
If you need your customers to use a calculator through their browsers,
you're probably looking for a Javascript calculator. Take a look at this
as an
Passing that many parameters shouldn't be a problem, I think...argv/argc
parsing in the standard C library is pretty fast.
On Tue, 2002-10-08 at 06:04, karthikeyan wrote:
Hi,
I want to pass some 10 to 15 parameters as input to an C Program. Does passing it
as command line argument
You miss closing }
Max Buvry wrote:
Hi,
I wish test the session. I use php 4.2.3 et session.auto_start is 1.
My first example is :
html
head
titleSession example/title
body
?php
if ( !isset($_SESSION['count']) )
{
$_SESSION['count']= 1;
}
else
{
$_SESSION['count']++;
}
if (
Why don't you just do a hard backup of the files from the db. Find out
the
location of the data folder where thd db saves its tables, perform a
tar
cvzf data_folder and then pipe it directly to the user for download
via
http.
Havent tryed it that way, but should work. Another thing would
$sess_session_name affects the name of cookie, get, or post var. If you wish to use
it, you need to also reimplement the session creation routine. What is important here,
is the $id, that is supposed to be hard to guess.
Giancarlo wrote:
The manual gives an example:
function destroy ($id)
Marek Kilimajer wrote:
You miss closing }
Thanks, but that's a copy-paste error and that's not my problem really.
mb
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Okay, I tried just a page with only session_start() in it and the page
does send a no-cache, no-store header.
output from wget
D:\wgetwget -S http://coconut/usap/test.php
--08:04:13-- http://coconut/usap/test.php
= `test.php.2'
Resolving coconut... done.
Connecting to
Also, FYI, pages without session_start do not send that cache-control
header.
---John Holmes...
-Original Message-
From: John W. Holmes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 08, 2002 8:08 AM
To: 'Rasmus Lerdorf'; 'Tom Rogers'
Cc: [EMAIL PROTECTED]
Subject: RE: Re[2]:
Hello,
I change my code to catch error query. I have a table with 4 files
(Query,
Error_no, create_date, create_time).
When I have an error on a query, I call a page and I add a row in a
table
log_query.
The query (with error is like that) :
$query=
SELECT
auteur.NO AS AUTEUR_NOM,
Hello.
I have compiled PHP 4.2.3 with Apache 2.0.42 and my problem is, that the function
is_readable doesn't work as I expected. It is allways returning false and not check
the current permission to file.
For example:
?php
if (is_readable(owner.php))
echo READABLE;
else
echo
dear all,
can anyone tell me how can we invoke executables files using php script.
Also can we link C librararies and use them with a PHP code.
Thanking you all.
Warm Regards,
Sharad
**Disclaimer**
Hi guys,
I've found me a problem...
A portion of a script is causing the child apache process to be terminated:
[notice] child pid 23620 exit signal Segmentation fault (11)
I never had a problem with this script until I upgraded to 4.2.3.
The only other difference is that now I have PHP
I have just upgraded php from 4.0.6 to 4.2.3. Everything works OK apart from
the line below -
echo 'td colspan=2 rowspan=2 align=centerimg alt=No Image to
display. src=thumbnail.php?image=00042.jpg valign=top//td';
The thumbnail.php script uses php functions imagecreate,
imagecreatefromjpeg,
Another note, phpMyAdmin causes a segmentation fault as well...
APACHE:
--
./configure \
--with-layout=Apache \
--sysconfdir=/home/nobody/conf \
--iconsdir=/home/nobody/icons \
--htdocsdir=/home/nobody/htdocs \
--cgidir=/home/nobody/cgi-bin \
I've thought about adding the text on the top, but never found a good way to
make that (not with plain HTML, it would require a java-applet to display
the stream).
Scrolling is quite simple, i use this:
head
SCRIPT language=JavaScript
!--
doscroll = true;
function Scroller() {
dunno if it's work, but, if you find out the client's OS, then you will know
the path to calc.exe as it resideds in the windows dir of most windoze
installs...
so find OS, then u know path, then jist do a a/a...
a href=**path determined by OS**\calc.exelaunch windows calculator/a
Bsantos Php
it's messy but works...
I would never do it this way...
I suggest a javascript calculator approach...
Brian McGarvie [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
dunno if it's work, but, if you find out the client's OS, then you will
know
the path to
Solved it!
Didn't add a temp directory for sessions!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have a very odd problem with PHP 4.22 (no acceleration) and Apache 1.3:
Getimagesize fails to see an image from URL randomly (1 out of 8 tries),
although the image is definitely there (trust me) and the server is under
zero load.
I tried also urlExists() from
RewriteCond %{HTTP_HOST} ^www\.[^.]+\.testsite\.com$ [NC,OR]
RewriteCond %{HTTP_HOST} ^[^.]+\.testsite\.com$
will this match http://www.user.testsite.comand http://user.testsite.com
sorry.i have no way to test this myself.i'm trying to help out my
Is there in PHP an equivalent for the 'htons()' function in C?
It's for converting 16-bit values between host and network byte order.
Or can somebody help me program a function which does it?
Cheers,
A
Hi Bruno,
Can anyone tell me if I can execute windows calculator
trought a PHP script on a web page to allow customers
to check final prices?!
Not on my Linux box you can't. You might find it tricky on my Dad's Mac as
well.
There's more to the web than Windows (thankfully). If you must do
I am trying to access a website that has tab delimited data and use PHP to
open the file, read from the
file for output.
I'd like to then place this data into an array, loop through the array and
output only the next to last record.
It is:
i'm searching for a midi to ringtone free converter.
please help
-
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos, more
faith.yahoo.com
Hi!
I read the PHP manual about the encryption, mcrypt_module_open(). I
have been trying to figure out an example of the parameters inside the
functions. I tried some of these options but I still get the error message
saying Warning: mcrypt module initialization failed in . Here's
Thomas Weber schrieb:
I've thought about adding the text on the top, but never found a good way to
make that (not with plain HTML, it would require a java-applet to display
the stream).
Scrolling is quite simple, i use this:
head
SCRIPT language=JavaScript
!--
doscroll = true;
It works fine with me on 4.2.3. Try it.
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
Pekka Saarinen [EMAIL PROTECTED] a écrit dans le message de news:
[EMAIL PROTECTED]
Hi,
I have a very odd problem with PHP 4.22 (no acceleration) and Apache
It looks that in PHP there is no need to do it, its done by itself, see
http://www.php.net/manual/en/ref.sockets.php
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
Arjen Brouwer [EMAIL PROTECTED] a écrit dans le message de news:
testing internal relay sendmail.cf
--
Dave Goodrich
System Administrator
TLS.NET
Columbus IN
http://tls.net
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
From: Jeff Bluemel [EMAIL PROTECTED]
[snip]
I have the following table... the button that originates from a form is out
of alighnment, and sits higher then the rest. how do I solve this?
TDa href=main.phtml target=_topIMG SRC=images/home-bttn.jpg
border=0/a/TD
TD
form
Anthony Ritter wrote:
I am trying to access a website that has tab delimited data and use
PHP to open the file, read from the
file for output.
I'd like to then place this data into an array, loop through the
array and output only the next to last record.
Is there any way to loop through
Max Buvry wrote:
Marek Kilimajer wrote:
You miss closing }
Thanks, but that's a copy-paste error and that's not my problem really.
mb
Solved : my solution for information (before test with url !)
?php
if ( !isset($_SESSION['count']) )
$_SESSION['count']= 1;
else
Right, I figured you knew this as it is documented. You can change that
in your php.ini file using the session.cache_limiter directive.
-Rasmus
On Tue, 8 Oct 2002, John W. Holmes wrote:
Also, FYI, pages without session_start do not send that cache-control
header.
---John Holmes...
I have a shopping cart which starts with two categories. The links to
each category both have a unique userID so that shopping information can
be added to the cart. The problem I have is this:
My user can add and remove as many of one category to his cart, but if
he links back to the page with
I've noticed that this issue is associated with text fields, password
fields, and textarea fields. What about file fields?
I have a form that is not showing the information pulled from a database in
a file field. Any ideas why? Does the file type not allow this to be done?
Jef
What archives?
Jef
++
Jason Wong [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Tuesday 08 October 2002 06:03, Jef wrote:
I need some help with the NEXT() and PREV() functions. I want to use
them
with a
you cannot pre-populate a field type of FILE in a form, it's in the W3C specs,
but the basic reason why you can't do it, is pretty much to prevent malicous
writers to prepopulate the field with c:\windows\passwords.txt or any thing
similar, /etc/passwd, /etc/shadow (this is why you shouldn't
Hello there,
I yesterday took a project where I am required to use CVS to get my files
over to the real server. I have never used CVS before. As a matter of fact,
I don't even understand the basic idea behind it (other than that it keeps
track of files in a central repository). I just tried a
So is it better to use a text field in this case?
Jef
+
Vidyut Luther [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
you cannot pre-populate a field type of FILE in a form, it's in the W3C
specs,
but the basic reason
Anyone here know how to use the php.ini for libmcrypt??? I tried this one
but it does nothing.
--clip--
mcrypt.algorithms_dir = /usr/local/lib/libmcrypt
mcrypt.modes_dir = /usr/local/lib/libmcrypt
--cilp--
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Using the date function, what's the easiest way to find the date of the next
Friday?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a file. I'll paste from line 32 to 34
?
.
$sql = select USUARIO from docente where USUARIO = '$usuario';
$result = mysql_query($sql, $link);
if (mysql_num_rows($result) == 1) { // line 34
?
I get the next warning:
Warning: mysql_num_rows(): supplied argument is
Hi everyone,
I'm a PHP newbie and wanted to know if there is a way to test for a file.
The reason I'd like to do this is because I'm writing a query to return
items from a catalog. However, if the client hasn't uploaded a picture or
if the picture is misteriously missing from the image folder,
Using the date function, what's the easiest way to find the date of the
next
Friday?
Why use the date() function?
$next_friday = strtotime(next friday);
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://www.php.net/manual/en/ref.filesystem.php
you can see that there is a function called file_exists, is_file, is_readable
etc etc..
hope this helps.
thats the PHP Filesystem function specific manual,
On Tuesday 08 October 2002 09:59, Doug Coning wrote:
Hi everyone,
I'm a PHP newbie
Hello people!
I've got the two simple php scripts: micgi.cgi and test.cgi.
The script micgi.cgi is a php scrit that only executes the php script
test.cgi.
When i execute micgi.cgi from the command line, all is ok.
The problem comes when i execute it from the web.
When micgi.cgi execute
Hello people!
I've got the two simple php scripts: micgi.cgi and test.cgi.
The script micgi.cgi is a php scrit that only executes the php script
test.cgi.
When i execute micgi.cgi from the command line, all is ok.
The problem comes when i execute it from the web.
When micgi.cgi execute
I'd like PHP to check to see if the image/picture.jpg exists before
returning the picture. Is this possible?
Yup - It's in the manual.
http://www.php.net/manual/en/function.file-exists.php
Cheers
Andy
- Original Message -
From: Doug Coning [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
In the INSTALL file notes for PHP is says:
1: Only install either the static module or the dynamic one. Do not
install both.
No reasoning is given for this statement. Does anyone know what the reason
for this is?
The reason I want to know is because I run both the Apache module and the
Omar Campos wrote:
I get the next warning:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in /home/olimpiad/public_html/base/alta1.php on line 34
This usually means that the SQL query failed. You can check the value
returned by mysql_query to see if this is
Responding to my own message. This is making me a little ticked. I can't
think it through. Here's exactly what I need:
There are a bunch of series of files (A series, B series, and so on) that
are to be released on the first, second, third, fourth, or (if it exists for
that month) fifth Friday
I've just read on MSDN that ASP sessions only work if the client has
cookies enabled,
Is that true for PHP as well.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well, those error normaly appear when you've got something wrong in your sql
statement. Make sure there is some information stored in your database,
empty tables are sometimes troublesome.
What do you use $link for?
$sql = select USUARIO from docente where USUARIO = '$usuario';
$result =
Hey, I just took a look at you site. It seems you are not utilizing session
variables. By having session variables, you can go back and forward with no
problem.
Steve Jackson [EMAIL PROTECTED] wrote in message
01c26ed4$5fa50e90$[EMAIL PROTECTED]">news:01c26ed4$5fa50e90$[EMAIL
No.
http://www.php.net/manual/en/ref.session.php
- E
R. Z. wrote:
I've just read on MSDN that ASP sessions only work if the client has
cookies enabled,
Is that true for PHP as well.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi,
I've just read on MSDN that ASP sessions only work if
the client has cookies enabled, Is that true for PHP as well.
No, not if you have session.use_trans_sid = 1 in your php.ini.
Cheers
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Omar,
I would first take the select statement and try running it in mysql to make
sure it actually runs (substituting a valid value for the variable of
course). Then if it has problems you can see what error messages mysql
gives you.
Good Luck,
Jonathan Duncan
Omar Campos [EMAIL PROTECTED]
I'm having problems running cp from shel_exec(). Nothing is returned, but
the copy is unsuccessful. The same call works as user nobody from the
actual shell. Any ideas?
-Alec
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm trying to extract information out of my /proc/pci file (linux) and I'm
not at all good with regexp matching and the like, so I'm hoping someone here
can help me out.
This is the original code which extracts the device type and device pair,
ignoring those that have 'bridge' or 'USB'
Greetings,
With register_globals off, I can no longer call specific functions form my
PHP script by linking text/graphic as such:
http://www.mysite.com/mydb/myevts.php?action=add_event
What I need to do, of course, is get add_event sent in something like a
POST command. I could make a page
*sigh* They never stop.
I have a series of lines that I put through a function that strips tags and
replaces them with their best string equivalents (bold tags turn into *s and
such).
For some reason, when I replace my BR tags with \n\r and print the
resulting line on-screen, it works. But when
Paul Kaiser wrote:
Greetings,
With register_globals off, I can no longer call specific functions form my
PHP script by linking text/graphic as such:
http://www.mysite.com/mydb/myevts.php?action=add_event
Use $_GET['action'] on this get variable within your myevts.php script
to obtain its
With register_globals off you will be accessing the query string variable
with, $_GET['add_event']
Or if you send through a POST request, $_POST['add_event']
You can simulate posting a form by opening an HTTP socket connection and
sending the POST request manually. Search for the posttohost()
You might be getting the emails in HTML mode, try adding
Content-type:text/ascii to your extra headers section
of the mail command.
Adam Voigt
[EMAIL PROTECTED]
On Tue, 2002-10-08 at 12:22, [EMAIL PROTECTED] wrote:
*sigh* They never stop.
I have a series of lines that I put through a
[EMAIL PROTECTED] wrote:
For some reason, when I replace my BR tags with \n\r and print the
Do you mean \r\n (carriage return, line feed)? Is this a typo in your
post or is it the problem?
HTH
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi Liam,
*sigh* They never stop.
I know the feeling ;-)
For some reason, when I replace my BR tags with \n\r
and print the resulting line on-screen, it works. But
when I e-mail the lines, the \n\r seems to disappear
I think it might be \r\n, not \n\r.
The works on-screen but not on
Doh! Sorry.. that would be $_GET['action'] as Chris specified. :P
-Kevin
- Original Message -
From: Kevin Stone [EMAIL PROTECTED]
To: Paul Kaiser [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, October 08, 2002 10:33 AM
Subject: Re: [PHP] Forming HTTP Header to POST
With
You might be getting the emails in HTML mode, try adding
Content-type:text/ascii to your extra headers section of the mail
command.
No, I've got the text/ascii header in there. I have it send an HTML and a
text version. Both look very different. The only problem with the text
version is that
On Tuesday 08 October 2002 22:23, Jef wrote:
What archives?
List archives. Searching for archives in www.php.net would have shown you
where they are.
Also google for php database next previous would've turned up some good
links.
--
Jason Wong - Gremlins Associates - www.gremlins.com.hk
I just reinstalled the system and everything on my computer, and thought I
should get the latest versions of apache, php and mysql, and now I get this
message everywhere on my pages.. hehe.. :P
how do I define variables ?
Håkan
--
PHP General Mailing List (http://www.php.net/)
To
On Tuesday 08 October 2002 23:34, R. Z. wrote:
I've just read on MSDN that ASP sessions only work if the client has
cookies enabled,
Is that true for PHP as well.
Yes.
Note that some browsers actually differentiate between session cookies (stored
in memory) and 'permanent' cookies (stored
I am trying to get PHP to send mail through my FreeBSD machine
and my machine is running Sendmail 8.12.4, and I have the path
to sendmail in my /usr/local/lib/php.ini. I am using PHP 4.2.3
but it fails to send mail. My /var/log/maillog shows the attempt
but nothing happens:
Oct 8 11:12:18
In your sendmail path, do you have -t -i appended to the path?
Like: /usr/bin/sendmail -t -i
Adam Voigt
[EMAIL PROTECTED]
On Tue, 2002-10-08 at 13:15, Devin Atencio wrote:
I am trying to get PHP to send mail through my FreeBSD machine
and my machine is running Sendmail 8.12.4, and I have
On Tuesday 08 October 2002 20:08, Mark Colvin wrote:
I have just upgraded php from 4.0.6 to 4.2.3. Everything works OK apart
from the line below -
echo 'td colspan=2 rowspan=2 align=centerimg alt=No Image to
display. src=thumbnail.php?image=00042.jpg valign=top//td';
The thumbnail.php
Yes I do have -t -i at the end of the path but it still doesn't
work. Any other ideas?
On Tue, 2002-10-08 at 11:17, Adam Voigt wrote:
In your sendmail path, do you have -t -i appended to the path?
Like: /usr/bin/sendmail -t -i
Adam Voigt
[EMAIL PROTECTED]
On Tue, 2002-10-08 at 13:15,
On Tuesday 08 October 2002 23:34, R. Z. wrote:
I've just read on MSDN that ASP sessions only work if the client has
cookies enabled,
Is that true for PHP as well.
Yes.
Note that some browsers actually differentiate between session cookies
(stored
in memory) and 'permanent' cookies
In the form below, when I specify a file to upload (in $filename), it gets
blanked out by the time I hit the Upload button and the page refreshes. My
test file is a text file that certainly does *not* exceed the max_file_size
(it goes to about 27 k).
FORM ENCTYPE = multipart/form-data ACTION =
Hkan wrote:
I just reinstalled the system and everything on my computer, and thought I
should get the latest versions of apache, php and mysql, and now I get this
message everywhere on my pages.. hehe.. :P
how do I define variables ?
If you have reinstalled with latest versions, maybe your
Is register_globals off? If it is, you should be using the $_FILES array.
---John Holmes...
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 08, 2002 1:35 PM
Subject: [PHP] For my next bug... Upload filename gets blanked out
In the form below,
Can you global a variable at the same time as making it an array?
I usually do this:
$Ticker = array(); global $Ticker;
Can I do this?
global $Ticker=array();
Thank you.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is register_globals off? If it is, you should be using the $_FILES
array.
Hmm. Not sure about register_globals, but I'm not using $_FILES. I assume
its use is $_FILES[name_of_file || size_of_file]? I'll check it out.
Is there a disadvantage to using it? Ie. If register_globals is on, will it
Greetings gang, this should be an easy one but it's kicking my butt today.
I need to build a member number in the format of -00- from an auto increment
ID field from my DB.
I can get the last ID value easy enough, but how the heck can I tag the new ID on to
the end of the string
Devin Atencio wrote:
to sendmail in my /usr/local/lib/php.ini. I am using PHP 4.2.3
but it fails to send mail. My /var/log/maillog shows the attempt
but nothing happens:
Oct 8 11:12:18 stardust sendmail[84142]: g98HCIsQ084142: from=nobody,
size=331, class=0, nrcpts=0,
msgid=[EMAIL PROTECTED],
Shane wrote:
Greetings gang, this should be an easy one but it's kicking my butt today.
I need to build a member number in the format of -00- from an auto increment
ID field from my DB.
I can get the last ID value easy enough, but how the heck can I tag the new ID on to
the end
The code works fine for displaying the information in the database. However,
the first line of information is still skipped.
Jef
++
Davy Obdam [EMAIL PROTECTED] wrote in message
Is register_globals off? If it is, you should be using the $_FILES
array.
I don't think that's it. Tell me if I'm using it improperly, but I tried to
print out the filename:
print([.$_FILES['uploadfile']['name'].]);
Is that it?
--
PHP General Mailing List (http://www.php.net/)
To
Christopher J. Crane wrote:
Can I do this?
global $Ticker=array();
I don't know, what happens when you try it?
HTH
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I was wondering if anyone has some examples of encrypting credit card
numbers in a database?
Basically, someone goes to a secure site, enters their information, and
then it is stored locally in a mysql database until it can be entered
(this is all we have for now until we setup a
If there is any doubt print the array to find the indexes you need to recall
the filename..
echo pre;
print_r($_FILES);
echo /pre;
You'll figure it out quickly enough. ::)
-Kevin
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 08, 2002 12:28
Hi, I need to do a drop down menu that loads the contents from a msql
database.
Like this: I need a select that has the name of every salesman of a
certain department, and this info is dynamic and is recorded in a
database (MySql).
So what would the select have to be like?
Also the load value is
1 - 100 of 178 matches
Mail list logo