snip
Would PHP be a good program to use for this project? Has anyone had to
reformat unstructured data to insert into a database? If anyone has any
suggestions or examples please let me know. J
/snip
If you have not already, look at regular expressions. imho, by far the
best way to parse
[snip]
hello all i need help to enter one variable in a cookie and then
retreive it back later, i know this probably sounds dumb to most but
this is really the first time ive tried working with cookies so please
bear with me, thanks for any help.
[/snip]
this should give you a good start
On Thursday 11 December 2003 17:45, [EMAIL PROTECTED] wrote:
Please post php/db related questions to the php-db list!
I am trying to do a Modify(UPDATE) and DELETE but I keep on
getting DB ERROR whenever I clicked on the links to Modify and
Delete...Gone thru my code a few times but
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi
Am Mittwoch, 3. Dezember 2003 14:24 schrieb MBA:
How could I use this php code,
?php print($REMOTE_ADDR); ?
in order to show the ip in a web page?
You should use:
?php @print($_SERVER['REMOTE_ADDR']); ?
for PHP 4.1 and higher.
Please
Hi,
Tuesday, November 25, 2003, 2:25:33 AM, you wrote:
M Hi there,
M I am trying to get I18n support working on my site. To do this I have
M isntalled gettext.
M Somehow the translation does not work. I did everything the examples
M explained, but I do stillg get en text.
M Here is what I
Are you looking for something that job listings are added to by companies or something
that crawls the web for listings?
Nathan
Redmond Militante mailto:[EMAIL PROTECTED]
on Monday, October 20, 2003 2:15 PM said:
for($j=0; $j $categories_count; $j++){
$categories_array = array();
$tempval=str_categories.$j;
array_push($categories_array,'$_REQUEST['.$tempval.']');
}
it looks like it's appending the string
Chris W. Parker
on Monday, October 20, 2003 2:27 PM said:
that's because you've got:
array_push($categories_array,'$_REQUEST['.$tempval.']');
and not:
array_push($categories_array,$_REQUEST[$tempval]);
Oh maybe I should explain why your original line wasn't working. You
have
Hi Redmond,
A couple of issues I see here. First of all you are resetting the
$categories_array to an empty array for each iteration in the loop. You must
move it out of the loop. Secondly, you have enclosed the entire $_REQUEST
superglobal variable in quotes so it is seeing it as a string rather
hi
i've changed my loop to
for($j=0; $j $categories_count; $j++){
$categories_array = array();
$tempval=str_categories.$j;
array_push($categories_array,$_REQUEST[$tempval]);
}
echo $categories_array[0]; //echoes nothing (should be a string value that was
+previously at
On Mon, 2003-10-20 at 15:35, Colin Kettenacker wrote:
$categories_array = array();
for($j=0; $j $categories_count; $j++){
$tempval=str_categories.$j;
array_push($categories_array,$_REQUEST[$tempval]);
}
Or you could try this:
$categories_array = array();
for( $j = 0; $j
Ray Hunter mailto:[EMAIL PROTECTED]
on Monday, October 20, 2003 2:47 PM said:
Or you could try this:
$categories_array = array();
for( $j = 0; $j $categories_count; $j++ ) {
$tempval = str_categories.$j;
$categories[$j] = $_REQUEST[$tempval];
}
Or you could get really fancy
Or you could try this:
$categories_array = array();
for( $j = 0; $j $categories_count; $j++ ) {
$tempval = str_categories.$j;
$categories[$j] = $_REQUEST[$tempval];
}
Or you could get really fancy and try this (my preferred method if not a
little confusing):
$j = -1;
Pretty easy, just make the regex stuff a little less greedy .. ;)
class='newsitemcontent-td' colspan=2(.*?)\/td\/tr/
That would catch it .. And yes, the question mark is both correct and
confusing. But it doesn't mean maybe in here. Now let's hope that your
post doesn't include td/tr ..
Thanks, that did the trick :)
Only thing was I had to modify it for newline support:
trtd class='newsitemtitle-td'([^]*)\/tdtd
class='newsitemposter-td'span
class=([^]*)([^]*)\/span([^]*)\/td\/tr trtd
class='newsitemcontent-td' colspan=2((.|\n)*?)\/td\/tr
Regards, Adam.
Esctoday.Com | Wouter
* Thus wrote Adam Zey ([EMAIL PROTECTED]):
Thanks, that did the trick :)
Only thing was I had to modify it for newline support:
trtd class='newsitemtitle-td'([^]*)\/tdtd
class='newsitemposter-td'span
class=([^]*)([^]*)\/span([^]*)\/td\/tr trtd
class='newsitemcontent-td'
Stephen Tiano wrote:
So I got is to display every column of every entry. But when I tried a
specialized select statement in the query box provided by the form at
the very end of this code, when I pressed the Submit button, nothing
changed; I was still left staring at the table of all the info
Ok - Thanks to Jim Lucas off list - I am almost to where i want to be, but
i am unable to reach him for further assistance. Can someone tell me where
in this code I can add a grey table row seperator? AND how come only the
first seat from my database is being displayed as taken?
$alphabet =
Ok - Thanks to Jim Lucas off list - I am almost to where i want to be, but
i am unable to reach him for further assistance. Can someone tell me where
in this code I can add a grey table row seperator? AND how come only the
first seat from my database is being displayed as taken?
$alphabet =
Ok - Thanks to everyone who has helped me so far both on and off-list - I
am almost to where i want to be, but i am unable to reach him for further
assistance. Can someone tell me where in this code I can add a grey table
row seperator (as shown at the bottom)? AND how come only the first seat
Cool thanks I'll try it out :)
Deadsam
Marek Kilimajer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Actualy, it will not. LIMIT can have only one argument with DELETE.
This will ($count is the number of rows you need to get in a previous
query):
DELETE FROM table ORDER BY
Jay Fitzgerald mailto:[EMAIL PROTECTED]
on Tuesday, August 26, 2003 10:40 AM said:
can someone please look at my code below and tell me why it is only
working half-way? It is only displaying radio buttons and seats for
numbers 71, 73, 75, 77, 79, 81, 83, and 85.and it is printing
seat
[snip]
$sql = SELECT seat, alias FROM attendees;
$sql_result = mysql_query($sql,$connection) or die(Couldn't execute
query.);
$row = mysql_fetch_array($sql_result);
$myseat =
array('70','71','72','73','74','75','76','77','78','79','80','81','82','
83','84');
$i = 70;
foreach ($myseat as $seat)
Jay Fitzgerald mailto:[EMAIL PROTECTED]
on Tuesday, August 26, 2003 10:40 AM said:
Whoops! Sent that first one prematurely. heh...
can someone please look at my code below and tell me why it is only
working half-way?
What does print_r($row) show you?
Chris.
--
PHP General Mailing List
On Tue, 26 Aug 2003 12:39:53 -0500, you wrote:
td align=center valign=top class=red
a class=sold onMouseOver=self.status='SOLD TO ?php echo $alias; ?';
return true; onMouseOut=self.status=' '; return true;?php print
$row[0]; ?
/td
Missing /a
DELETE FROM table ORDER BY timestamp DESC LIMIT 40, 1000
untested, but should work
Deadsam wrote:
Hi Im making a chatroom using flash and php, the one problem Im having is
deleting rows.
What I'm looking for is when they click on the button to send the message
into php--mySql it will also
Actualy, it will not. LIMIT can have only one argument with DELETE.
This will ($count is the number of rows you need to get in a previous
query):
DELETE FROM table ORDER BY timestamp ASC LIMIT $count-40
Marek Kilimajer wrote:
DELETE FROM table ORDER BY timestamp DESC LIMIT 40, 1000
* Thus wrote Dan Anderson ([EMAIL PROTECTED]):
I need to grab cookies from a web page and pass those cookies back to
the web page when needed. I downloaded the cURL program and was playing
with it, but don't understand how cURL functions correlate into the PHP
equivalents.
How would I
At 2003-08-18 16:17 -0400, Dan Anderson wrote:
I need to grab cookies from a web page and pass those cookies back to
the web page when needed. I downloaded the cURL program and was playing
with it, but don't understand how cURL functions correlate into the PHP
equivalents.
I don't know cURL, but
* Thus wrote anders thoresson ([EMAIL PROTECTED]):
set_lock($table_name, $row_id), check_lock($table_name, $row_id) and
release_lock($table_name, $row_id). Whenever an editor opens some content
for editing, check_lock() will be called to se if table_lock contains a row
with the same
What happens when the user doesn't finish editing or the browser
simply crashes on him?
Well. Didn't think of that.
So how can I avoid that two editors loads the same record for editing at
the same time, while still making all records available for regular
visitors to read?
--
anders thoresson
check out sourceforget.net, lots of web applications on there for hosting
management, and i believe there's a few email applications.
- Original Message -
From: dan montgomery [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 12:55 PM
Subject: [PHP] need help
need
I think you need to make a second index that just consists of the one
column
ALTER TABLE biblio ADD FULLTEXT (title)
if you want to search on just that one column.
---John Holmes...
Exactly!
If you want to do a fultext search on a single column you must have a
fulltext index on that
I think you need to make a second index that just consists of the one column
ALTER TABLE biblio ADD FULLTEXT (title)
if you want to search on just that one column.
---John Holmes...
- Original Message -
From: Angelo Zanetti [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July
hi, i'm trying to select * through 3 tables - is the following syntax
correct?
$sql=(SELECT * FROM mjp_cc);
$sql=UNION;
$sql=(SELECT * FROM imc_cc);
$sql=UNION;
$sql=(SELECT * FROM pmp_cc);
$sql.= ORDER BY savedccactivity DESC;
i basically just want to spit out the contents of these
Hello,
This is a reply to an e-mail that you wrote on Thu, 17 Jul 2003 at 02:02, lines
prefixed by '' were originally written by you.
I need your help.
Can you please visit a site
http://sspsoft.com/test/ip2ll.php (in case if you cannot get it,
please
click on http://ns1.webhostdns.us and
Theoretically, you should be able to do a multi-table update since MYSQL
3.23, like this:
UPDATE tablename, tablename2 SET tablename.field1 = 'yes' WHERE
tablename.userid = tablename2.userid;
I haven't tested it, though.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
-Original Message-
From: Andrew McCombe [mailto:[EMAIL PROTECTED]
Sent: 1. júlí 2003 23:33
To: [EMAIL PROTECTED]
Subject: Re: [PHP] need help w/ sql query - update and select at once
Theoretically, you should be able to do a multi-table update since
MYSQL
3.23, like this:
UPDATE
Anders,
Are you missing a '|' in the if condition?
Michael Egan
-Original Message-
From: anders thoresson [mailto:[EMAIL PROTECTED]
Sent: 26 June 2003 12:01
To: [EMAIL PROTECTED]
Subject: [PHP] need help breaking out of loop.[Scanned]
Hi,
I'm working of a PHP-MySQL-planning system
Are you incrementing number_of_days anywhere within the loop?
It looks like you have an infinite loop running. If you want to be able to
move to the next date, increment you date variable.
-Naintara
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
t]On Behalf Of
On Thu, 26 Jun 2003 13:00:45 +0200, you wrote:
What am I missing?
At first glance
while ($i = $number_of_days)
{
$issue_date = strftime(%Y-%m-%d, $current_date);
$issue_month = date(m, $current_date);
$issue_day = date(d, $current_date);
On Fri, 2003-06-06 at 14:32, Gloria L. McMillan wrote:
Hi, again!
I did not see my question as yet so I will repost it.
I have had help writing HTML code to display the results of my PHP-- McSQL actions.
But when I attempt to show the DATE and q40 (comments) with the HTML code below,
On Fri, 2003-06-06 at 18:45, Lars Torben Wilson wrote:
[snip]
while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
echo
trtd{$row['time_stamp']}/tdtd{$row['heading']}/td/tr\n;
}
Whoops...replace 'time_stamp' with 'added' and 'heading' with 'q40',
of course. :)
Sorry,
Torben
Sorry for mistakes. It should be:
...
if ($year_now = $year_show $month_now = $month_show $day_now
= $day_show $hour_now == $hour_show $minute_now = $minute_show) {
COMMENTING SYSTEM OPENED
{
else { COMMENTING SYSTEM CLOSED }
...
--
PHP General Mailing List (http://www.php.net/)
I have a subscription service and am trying to not allow the buyer to
proceed purchasing another subscription if one of their subscriptions
is
over 29 days past due in their payment. I am trying to query each
invoice
and checking to see if it is past due more than 29 days, if it is I
want a
Space at the beginning or end of a string can be removed with trim().
In order for someone to write you a regexp, you need to change your question
to the following:
I need to ensure a string only has the following characters in it:
A-Z
a-z
0-9
Can someone please help me write a regexp which
How about:
preg_match_all ('/([a-zA-Z0-9]+)/', $subject, $matches);
HTH,
Jason k Larson
Justin French wrote:
Unfortunately, I'm no good with regexp's, so you'll have to hope someone who
IS reads your post :)
Justin French
on 12/03/03 5:14 AM, Kenn Murrah ([EMAIL PROTECTED]) wrote:
Greetings.
On Wed, 5 Mar 2003, LeTortorec, Jean-Louis wrote:
My pages starting and ending with ?? don't work anymore. I would
have to change them to ?php...php?.
Do you know if there is a way for keeping ? running?
I think you might try:
ini_set(short_open_tag, 1);
Or edit your php.ini and set it
I've installed the Apache v2.0.44 with PHP4.3.1., under Windows.
My pages starting and ending with ?? don't work anymore. I would
have to change them to ?php...php?.
php? is not valid. It's ?php ... ? or ? ... ?
Do you know if there is a way for keeping ? running?
enable short_tag in
- Original Message -
From: Denis L. Menezes [EMAIL PROTECTED]
Sent: Wednesday, February 12, 2003 9:43 AM
Subject: [PHP] need help with a table please - sorry
Sorry I sent the wrong code in my last mail. Here is my correct code.
I want the output of my query to be formatted such that
At 15:43 12-2-03, you wrote:
Hello friends.
Sorry I sent the wrong code in my last mail. Here is my correct code.
I want the output of my query to be formatted such that after every 7th
output, the 8th one should start on a new row in the table. I have written
the following code but does not
woops i did not finish that line:
If you imagine to walk through your code, with every step $i increases. If
you start the second row,
then the counter is at 8 and will never be 7 again.
And some bad english:
Besides, your second print 'tr' for every cell, which will break your
table,
At 17:21 8-2-2003, you wrote:
Hi
I have to alter this code:
?php
$fp = fopen ('http://www.whatever.ee/', 'r');
for ($src = ''; !feof ($fp); $src .= fgets ($fp, 1024));
fclose ($fp);
if (preg_match ('/\font color=black\([^]*)\\/font/i', $src, $matches))
echo'Match: b'.$matches[1].'/b';
Thank You very much!
It Really works the way I want it to. But i still have a slight problem. The
script cant read the data if it is on several rows. For example:
table
font color=black
trtext/tr
/font
/table
Is there a way to fix this problem?
Thank You!
Chris Hayes [EMAIL PROTECTED]
Thank You very much!
It Really works the way I want it to. But i still have a slight
problem.
The
script cant read the data if it is on several rows. For example:
table
font color=black
trtext/tr
/font
/table
Is there a way to fix this problem?
-Original Message-
From: thkiat [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 10:23 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] Need help.
Can someone tell me what should I do to solve this problem?
Warning: mysql_fetch_row(): supplied argument
can you post some code?
-Original Message-
From: thkiat [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 10:23 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] Need help.
Can someone tell me what should I do to solve this problem?
Warning: mysql_fetch_row():
Global Variables are turned off!!! check php.ini!!
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]
-Original Message-
From: Dale [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 23 January 2003 10:02 AM
To: [EMAIL PROTECTED]
Subject: [PHP] NEED HELP URGENTLY
AND PLEASE STOP YELLING
HiTCHO said:
Global Variables are turned off!!! check php.ini!!
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]
-Original Message-
From: Dale [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 23 January 2003 10:02 AM
To:
First of all, you don't need to type in all caps like that. I thought
this was the Nigerian Scam for a minute there! :-) Anyway, in PHP
4.2+, the php.ini setting register_globals is off by default. You'll
need to either turn it on, or start using the newer $_POST superglobal
array. For
And then read some articles or news on the language you've been
programming in for two years
---John Holmes...
-Original Message-
From: Timothy Hitchens (HiTCHO) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 6:58 PM
To: 'Dale'; [EMAIL PROTECTED]
Subject: RE: [PHP
On Tuesday 07 January 2003 03:26, Don wrote:
Hi,
I'm using a mailer class that allows for external file attachments. I was
using the test:
if ($HTTP_POST_FILES[$val]['size']) {
Which worked fine. However, I wanted something more generic that works for
POST or GET
How do you mean more
Your include path is not setup so that the web server can find the file
you are trying to include, if the file is in a sub directory make sure
you are properly including it include_once('include/main.php') not just
include_once('main.php').
And make sure the file you are trying to include exists
You don't need to call session_start twice. And you are right, the
problem is in that line: you want to show your login screen
if both $_POST['uid'] and $_SESSION['uid'] are not set, therefor
instead of OR use AND.
Anders Thoresson wrote:
Hi again,
I'm still trying to understand sessions,
--- Richard Rojas [EMAIL PROTECTED] wrote:
I'm a PHP newbie and Im really having difficulty with
client-server certificate validation using Openssl and
PHP. If somehow you know of a tutorial, a website or
sample PHP codes that checks (expired, revoked) and
validates client certificates, it
http://www.php.net/manual/en/install.unix.php
You'll make it easier on yourself installing MySQL from the rpm's on
your RedHat CD's.
rpm -ivh mysql-xxx-.rpm
Be sure to install both the server and client of MySQL.
ppf wrote:
Hi All:
I got php/mysql/appache on my windows machine, it
On Tuesday 12 November 2002 05:57, ppf wrote:
Hi All:
I got php/mysql/appache on my windows machine, it
works fine
Now i have to install appache/php/mysql on Linux 6.1
red hat. I had searched the php.net for intallation
document, but it didn't have much detailed
description. I am new to
And here for MySQL...
http://www.mysql.com/doc/en/Linux-RPM.html
Just worry about the client and server.
John Nichel wrote:
http://www.php.net/manual/en/install.unix.php
You'll make it easier on yourself installing MySQL from the rpm's on
your RedHat CD's.
rpm -ivh mysql-xxx-.rpm
So far as I know the session_register() function accepts only one input.
That could be your array if you wanted. It would be the same thing as doing
this:
$myarray = array('name' = '', 'price' = '', 'desc' = '');
$_SESSION['myarray'] = $myarray;
Set and/or Access with:
Oops.. sorry didn't realize I was responding to a redundent post. :)
-Kevin
- Original Message -
From: Kevin Stone [EMAIL PROTECTED]
To: @ Darwin [EMAIL PROTECTED]; Php-General
[EMAIL PROTECTED]
Sent: Tuesday, November 05, 2002 3:27 PM
Subject: Re: [PHP] Need Help With SESSIONS
If you are using MySQL you may want to look at the CASE statement in the
Control flow functions for use with SELECT Statements
it would look like
SELECT
CASE A.Afn
WHEN 1 THEN B.Bfn1
WHEN 2 THEN B.Bfn2
WHEN 3 THEN B.Bfn3
FROM A,B
IN MySQL
Hope That Helps.. Phil
Alex Shi
A solution on that depends strongly on how much values A.Afn would take. For
3, it's still okay. But i wouldn't do more.
Against what shall the B.Bfn* be checked? What Data do you want to be returned
from the query?
try:
SELECT ### FROM A, B WHERE
((A.Afn=1) AND (B.Bfn1 = ...)) OR
Thanks! This is what I need!
Alex Shi
Sascha Cunz [EMAIL PROTECTED] 写入消息新闻
:[EMAIL PROTECTED]
A solution on that depends strongly on how much values A.Afn would take. For
3, it's still okay. But i wouldn't do more.
Against what shall the B.Bfn* be checked? What Data do you want to be
http://www.php.net/manual/en/function.fsockopen.php
Seems to be A LOT of useful information there? Did you check it out?
-Brad
I have a script that downloads html pages from many different sites. The
script executes as expected but is slw. I would like to replace
fopen() with
I have a form containing a text field where the user types in a
sentence.
I
need to search a mysql table, specifically a text field and display a
list
of found results. My criteria selections are:
1) return a record if all the words are contained in a record
2) return a record if all any
Tim, you are my father! That was it. That stupid trailing /*
Making it:
Directory /home/epiller/public_html/vrexhibits
instead of:
Directory /home/epiller/public_html/vrexhibits/*
worked
-Original Message-
From: Tim [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 08, 2002
that's the nature of php. it is executed server side then disappears
showing only it's results. :)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 09, 2002 2:21 PM
To: [EMAIL PROTECTED]
Subject: [PHP] need help
Hi, how come on the view
And that is good actually since malicious users can't see your source
code, variables it is difficult to hack the site.
that's the nature of php. it is executed server side then disappears
showing only it's results. :)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
You should check out The Hosting Company
http://www.thehostingcompany.us/
The PHP config comes with many flavors:
http://www.thehostingcompany.us/info.php
--Daniel
-Original Message-
From: Mantas Kriauciunas [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 02, 2002 2:31 AM
To:
I just moved my domain over to phpwebhosting.com. The transfer went very
smoothly and so far I've been satisfied. The only hitch I can see in
your requirements might be the background processes (bots, what?). But
it's probably worth asking them about.
..michael..
On Thu, 2002-08-01 at 23:31,
On Saturday 03 August 2002 07:37, Monty wrote:
I'm trying to use the more secure register_globals=Off setting for some
simple scripts that do authentication and use sessions. But I'm ready to
rip all my hair out!
Look at the chapter Session handling functions. The setting of
register_globals
Aside from shell, ssh background processes, i can recommend experthost.com
How do you expect to get ASP (assuming you mean microsoft's Active Server
Pages) on a Unix box?
Sure, PHP could be on a Windows box, but I think your chances of finding a
solid host that supports ASP AND PHP on the one
How do you expect to get ASP (assuming you mean microsoft's Active Server
Pages) on a Unix box?
Justin,
you can use ChilliSoft, http://www.chillisoft.com, by Sun Microsystems
that is a ASP plugin that works with Apache as well as other browsers such
as IBM's Websphere, and many others as
I am using PHP-4.1.1 on Linux,
I wanted to know the difference between nobody user and normal user of
operating system.
None. Nobody is an ordinary user. However, ordinary UNIX users can be set
up in all sorts of ways.
This question just came to mind when, neither nobody's directory nor
Hi Gurus,
I am using PHP-4.1.1 on Linux,
I wanted to know the difference between nobody user and normal user of
operating system.
This question just came to mind when, neither nobody's directory nor any
entry was not found in /home or elsewhere.
The web server can be run by any user.
The
deadsman,
if (($filename_type != image/jpeg) ($filename_type != image/jpg)
($filename_type != image/pjpeg)) {
header(Location:submitError.php); exit; //goes to an error page if the
file wasnt a jpg
} else {
$upload_path = /path/of/the/$filename_name;
if (is_uploaded_file($filename)) {
Thanks oscar I'll give this a go, I tried just using filetype != image/jpeg
so mabey adding the rest will help , I read there was a problem with some
browser with uploading hopfully this will solve the problem.
much apprecatied
Deadsam
Oscar F [EMAIL PROTECTED] wrote in message
Hi,
Monday, July 29, 2002, 7:53:30 AM, you wrote:
D I'm trying to get an uploader to work, where you check to make sure it's a
D jpeg file that's being uploaded, and no other files allowed. the server is
D unix linux using php4.1
D Any help would be appreciated.
D thanks in advance
D deasdam
means the table ur trying to create already is there... if u don't want to keep the
table do a DROP tablaename in mysql or if not then change the name of the table you
are trying to create
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 11
Table 'book_auth' already exists means that you're trying to create
the 'book_auth' table again, even though it already exists. Remove the
old 'book_auth' table to create the new one.
--
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
On Thu, 11 Jul 2002
You are creating a table which already exists. The easy way to get out of
this, is either create a table with a different name or drop the existing
table and re-create it.
Cheers,
Sachin.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002
How are you getting this error?
Are you trying to create the table?
[EMAIL PROTECTED] wrote: MySQL Error : Database Error
Error Number: 1050 Table 'book_auth' already exists
what this meant?
what should i do for
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]]
Sent: 03 July 2002 20:58
Still working on the script. Here what I found out so far.
Why does the
example #1 work and example #2 doesn't?
Example #1
Page 1
$_SESSION[0] = Zero;
$_SESSION[1] = One;
You must do a session_start() before you can use the session ID or the
session array.
On Wed, 2002-07-03 at 12:24, Scott Fletcher wrote:
Have not been successful in making this work for 2 days now. I'm focusing
on making the $_SESSION to work on each webpages. The 1st page is the
login.
That one doesn't work too well! Also, here's the old script that work with
the register_global turned on. But making it work with register global
turned off is what I haven't gotten it to work.
--clip-- (Page 1)
odbc_fetch_into($result,$user_detail,1);
$salt = strtoupper(md5(uniqid(rand(;
Al Baker's comment does help to iron out the broken script. Thanks, Al
Now, I still can not understand why the 2nd page show the $_SESSION as
blank. It is suppose to contain datas. The php.net stated that $_SESSION
is global. Any comments?
--clip-- (Page 1)
session_start(); //
Now, I still can not understand why the 2nd page show the $_SESSION as
blank. It is suppose to contain datas. The php.net stated
that $_SESSION
is global. Any comments?
register_globals on
---
Page 1
?
session_start();
$foo = 'bar';
session_register('foo');
$foo =
The demostration written by Kirk Johnson worked pretty well. So, it should
work with my demo script I posted earlier today. Alright! I'm going to
have to debug it to find the problem. I'll post the final script once
everything is ironed out. Hope to get it done today.
Thanks,
FletchSOD
Still working on the script. Here what I found out so far. Why does the
example #1 work and example #2 doesn't?
Example #1
Page 1
$_SESSION[0] = Zero;
$_SESSION[1] = One;
Page 2
echo $_SESSION[0];
echo $_SESSION[1];
Example #2
Page 1
$array[0] = Zero;
$array[1] = One;
//This is either
If you don't have cURL Installed yet, you can get it for Win32 here:
http://curl.haxx.se/download.html
On Tue, 2002-06-18 at 09:30, Barbara wrote:
I want to know how I have to install cURL on my apache server. My apache server is
running on Windows ME.
Thanks for all.
Barbara Guillen.
Spain
201 - 300 of 362 matches
Mail list logo