Not quite. I have the same problem.
At 11:36 PM 11/14/2001, Johan Holst Nielsen wrote:
>Richard S. Crawford wrote:
>
> > I am trying to get the title of an html file... you know, the string
> > between the < title > and < /title > tags...
> >
> > Here is the function I've got so far:
> >
> > fun
Hello Johan
the program just can let me get the post string like my example
I want post the xml file content to a php file, then I want get the post
string that it's xml content.
hehe, thanks for your help
--
Yorgo Sun
Project Manager
Technology Dept. Tom.com
Email:[EMAIL PROTECTED] Mobile:1
For the record, I have tried:
I have read: http://www.php.net/manual/en/function.session-register.php
> This is my problem:
> http://www.collegesherbrooke.qc.ca/languesmodernes/postcard/test_session.php
>
> Type something.
> Press submit.
> Change your text and re-submit.
>
> $name doesn't re-sa
Richard S. Crawford wrote:
> Not quite. I have the same problem.
I tried at test on my localhost. Following works for me:
$string = "Sometime i dont wanna
know";
if(eregi("(.+)", $string, $arr)) {
echo "Title: ".$arr[1];
}
else {
echo "unknown title";
}
This works for me?
Regards,
Jo
>the program just can let me get the post string like my example
> I want post the xml file content to a php file, then I want get the post
> string that it's xml content.
>
> hehe, thanks for your help
Did you solve your problem?
I dont think i understand you, but i tries to give a little s
I think you understand my problem.
I will use a client program to POST the XML data to a php file on the server
base HTTP
in php file will get the post request,
the question is, how can i get the xml data in post request
--
Yorgo Sun
Project Manager
Technology Dept. Tom.com
Email:[EMAIL PROTECT
And ... if this helps:
http://www.collegesherbrooke.qc.ca/languesmodernes/postcard/phpinfo.php
Jtjohnston wrote:
> For the record, I have tried:
>
> //$temp = $name;
> session_name("TESTpostcard");
> session_start();
>
> $temp = $name;
> session_register("name");
> $name = $temp;
>
> > I hav
The problem lies with the fact that you have a variable 'name' that gets
posted in the form as well as a session variable 'name' that is passed to
the script when it is executed again. As far as I remember the session
variable supercedes the posted variable, so the session variable would
overwrite
> I think you understand my problem.
>
> I will use a client program to POST the XML data to a php file on the
> server base HTTP
> in php file will get the post request,
>
> the question is, how can i get the xml data in post request
Hmm, I dont think I understand? Where do you want to do with
XML file is text file. If I open the file with php like call $fp, that is a
long string with some special char.
post method can send a long string to the server.
how php can receive that long string is my problem.
if can do that, php can parser the xml file send form remote computer.
I want php p
Hi all,
I would like to do something like that :
#ifndef _SYS_TYPES_H
#include
#endif
Is it possible in php ?
Thx poz
$HTTP_RAW_POST_DATA
(problems with 4.0.6 because in it some changes had been made). If the
content type is known by PHP then this var is empty, otherwise you have the
data in it. Works perfect with 4.0.0. I think that since 4.0.7 there is a ini
option about that
Regards,
On Thursday 15 Nove
I think I saw on this list that there's a $HTTP_RAW_POST_DATA (or
similar) varibale. Sorry the net is slow like hell at work, I can't
search for more info. But I think if you search for "raw" on the
general mailing list's archive you will find it.
Arpi
> XML file is text file. If I op
thinks
I finded it by review the soure code. try it's empty. then think have and
other way.
so got your explain. I just try the older version or waitting the php4.1.0
--
Yorgo Sun
Project Manager
Technology Dept. Tom.com
Email:[EMAIL PROTECTED] Mobile:13701243390 Phone:65283399-121 TomQ ID:yorg
try that!
New Document
';
if (preg_match('/(.+?)<\/title>/is', $mem, $matches))
{
echo "title is:$matches[1]";
}
?>
"Richard S. Crawford" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I am trying to get the title of an html file... you know, t
Hello,
I'm using PHP 4.0.4pl1-9 on RedHat 7.1. The software was installed using rpm.
I'd like to add the mhash extension without re-installing the entire PHP package
from source. So i try following steps:
- install mhash from source
- obtain PHP source directory, then
cd ext/mhash
phpize
I started an affiliate program to sell my scripts, and it uses cookies
for tracking.. I didnt know it at the time, but as soon as the web
browser's closed, the cookie info is gone. g! I need it to stay
there *permanently*! =) Here's the code I have no for both setting and
retrieving..
retrie
you must set the cookie's expiry time!
of-the manual:
setcookie ("TestCookie", "Test Value");
setcookie ("TestCookie", $value,time()+3600); /* expire in 1 hour */
setcookie ("TestCookie", $value,time()+3600, "/~rasmus/", ".utoronto.ca",
1);
"Phpgalaxy.Com" <[EMAIL PROTECTED]> wrote in message
[
yeah I saw that bit on there, but I was led to believe tha by leaving it out,
it would make the cookie permanent...I see thats not true =) so what would I
do to make this permanent? or would I just set it for the highest time-limit
possible? =)
_lallous wrote:
> you must set the cookie's expir
Supongo que es PHP 4:
Chequea el httpd.conf por:
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php4
Espero que este sea el problema.
Mensaje citado por: Daniel Geldres Castro <[EMAIL PROTECTED]>:
> Tengo un p
Den 01-11-15 13.20, skrev "PHPGalaxy.com" <[EMAIL PROTECTED]>:
> yeah I saw that bit on there, but I was led to believe tha by leaving it out,
> it would make the cookie permanent...I see thats not true =) so what would I
> do to make this permanent? or would I just set it for the highest time-l
well yeah, thats always true..but this's at least as good as it gets =) ya suppose
there's any limit on how many years I can set it for? hell, I'll just set it for 10
years and that'll be good enough =)
Magnus wrote:
> Den 01-11-15 13.20, skrev "PHPGalaxy.com" <[EMAIL PROTECTED]>:
>
> > yeah I
Yes, I guess you can't make it foreever but you can give it a higher expiry
date.
"Phpgalaxy.Com" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> well yeah, thats always true..but this's at least as good as it gets =)
ya suppose
> there's any limit on how many
First: can I do a POST-request with fsockopen?
If yes, then: whats the syntax for POST-requests?
I was happy if someone could point me to a good documentation or so
Thanks in advance
Stefan Rusterholz, [EMAIL PROTECTED]
--
interaktion gmbh
Stefan Rusterholz
Zürich
When POST data is sent to a page, it's as if somebody typed the text into a
textarea and hit a submit button. Even though this is being done
programmatically, the POST method will behave the same. SOmebody in their
(your)code will have to write something similiar to:
$postData = "xVar=" . rawu
Hi there
The following problem occurs in my scripts:
A large page is generated with data from a MySQL database. The various
paragraphs inside this page have variable, internal links, also extracted
from the database.
Example:
Let's assume that $value represents FOO.
Now i want to take the
> A large page is generated with data from a MySQL database. The various
> paragraphs inside this page have variable, internal links,
> also extracted from the database.
> Example:
> Let's assume that $value represents FOO.
Ok
> Now i want to take the value of this variable to post to $PHP_SEL
Thanks for the quick reaction.
> When is $value assigned a value? Before or after the script prints out
> the ", so $value would be "para1"). After posting to SELF a jump to
para1 must be made.
Is this enough?
Thanx, Rob.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-
php-general Digest 15 Nov 2001 14:41:10 - Issue 996
Topics (messages 74660 through 74711):
Controlling length of table data
74660 by: Gaylen Fraley
74661 by: Martin Towell
74666 by: Johan Holst Nielsen
PHP 4.0.6 $PHP_SELF empty?
74662 by: John Steele
Hi Stefan,
Maybe this HTTPPost class will help you.
http://phpclasses.upperdesign.com/browse.html/package/375
--Daniel
> -Original Message-
> From: Stefan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 15, 2001 8:53 AM
> To: PHP
> Subject: [PHP] fsockopen - whats the syntax of PO
> > When is $value assigned a value? Before or after the
> > script prints out the ", so $value would be "para1"). After posting
> to SELF a jump to para1 must be made.
It depends on where value is coming from. If it's coming from the
script server side, then you just need to make sure that
>It depends on where value is coming from. If it's coming from the
>script server side, then you just need to make sure that $value is
>set before the line "http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list admini
Actually, that does work when I'm using a string with that content. The
only thing I can figure is that there is a problem with the way the the
file is being read. Hmm.
Ah, well. I'll make it work. Where's my hammer?
At 12:18 AM 11/15/2001, Johan Holst Nielsen wrote:
>Richard S. Crawford
I want to show a default piece of information if my query returns no result, and what
I mean by no
result is the query for a store in a certain state doesnt exist.
thanks
dan
=
Dan McCullough
---
"Theres no such thing as a pro
Been Using this Function for some time and works real well with two
exceptions
1. if the title line has a CR in it it will no get the title
Example: This is a bad
Title
2. If there are any other < > tags in the title it will fail.
([^<]*)(.*)', $string,
$regs ) )
> >It depends on where value is coming from. If it's coming from the
> >script server side, then you just need to make sure that $value is
> >set before the line "\n";
$anchorTag = "FOO";
echo "\n";
$anchorTag = "BAR";
echo "\n";
?>
or something along those lines. You are going to ha
Hi!
Is it possible to add PHP-code into the html-templates of ht://dig?
The problem is the execution after or before the CGI-prog has run.
Of course I need 'after'. But how can I do that?
What is the default order in a builtin-PHP?
--
Berthold
(live long and prosper...)
--
PHP General Mailing
Does anyone know:
What's the deal with the newsgroup version of this list? I'm using
news.php.net as the news server address, but all I get are error messages.
Is this newsgroup still functional?
Christopher Raymond
--
O A S I S
For the record:
You can control the order of precedence of variable reading
through a php.ini setting, variable_order, (replaces gpc_order).
I believe the default is EGPCS i.e. environment, get, post, cookie, session.
The last in the list takes precedence, i.e. session variables normally have p
On Thursday 15 November 2001 07:41 am, Christopher Raymond wrote:
> Is this newsgroup still functional?
Yep -- I just checked and it's working fine for me. I'm using news.php.net
connecting on port 119 (default NNTP port)
--kurt
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
Thanks to everyone who helped me figure this out.
I foolishly didn't realize that I was using the htmlspecialchars() function
on the string that I was pulling from the file, but not accounting for that
in the regexp. So, what I was getting was:
BLAH BLAH BLAH
but wh
Hello,
I need some help regarding the creation of a text file which is a XML file.
Actually, PHP creates the file without any problem and the XML format is
fine. My only trouble is that it take on average 3 or 4 minutes to perform
the task.
Do you have any idea why it takes so long ??
Thanks
I kind of like Leech FTP,
http://stud.fh-heilbronn.de/~jdebis/leechftp/downloads.html
George
Rudi Ahlers wrote:
>
> Sorry for the totally OT question, but can anyone recommend a good, FREE,
> FTP client for windows? I now have to pay for AceFTP aswell, which used to
> be free.
> Thank you
>
[EMAIL PROTECTED] wrote:
> In am HTML form, checkboxes NOT checked are not passed
> to the PHP script called by the form.
>
> Therefore, if $name_of_chechbox_3 is not passed but it's
> used in the PHP script, it results in "Warning:
> Undefined Variable".
> In am HTML form, checkboxes NOT checke
Jason G. wrote:
> Does anyone know of a way, that from within a function, you can determine
> what line number and file the function was called on?
Cannot be done with existing built-in PHP functions...
Feel free to add that feature to the PHP source and contribute it :-)
> I did try:
> functi
Spunk S. Spunk III wrote:
> I'm working on a script that needs array_unique() but my host is using
> 4.0.4 and it's broken in that build. Does anyone have a good workaround
> for this? I can wait for my host to upgrade but if I release this code, it
> would be better to have the workaround...
>
Stefan wrote:
> Is there a way to have different .ini-files for each VirtualHost?
> Apache is used as webserver
Not really really, but you *CAN* do Apache's include (#include? ?
???...) There's *some* way of including other files anyway, even if I'm
not enough of a guru to know what it is...
Of the type...
$array[0][0] = "!row of c's";
$array[0][1] = "";
$array[1][0] = "row of a's";
$array[1][1] = "";
$array[2][0] = "a row of b's";
$array[2][1] = "";
such that you sort on the value of the y-column?
In this case, it
Rvb Pixels wrote:
> Hi,
>
> I'm new to the list and I have a problem with PHPNUKE 5.2 and W98.
>
> After installing some categories and links in the Web Links section, and
> then clicking on one of the links created I keep getting the following
> message error in W98SE.
>
> "PHP caused an inva
Hello.
What does apache + php do if the user refreshes a page 10 times in a while
before the scripts finishes? do all 10 .php scripts finish or do the first 9
get aborted? how can i solve the problem that when someone clicks a lot on a
link (always the same link) the server gets overloaded (becau
De Necker Henri wrote:
> Hi there.
> I have an array like this : 1.2 , 0.3 , 0.5 , 1.6 , 0.3
> I output like this:
>
> while($data_array[$j]){
> echo "$data[$j]" ;
> $j++ ;
> }
>
> My output is like this : 1 , 0 , 0 , 1 , 0
> The values in the db are floats and are read correctly
You can roll your own fairly easily:
function mycmp($a,$b) {
return strcmp($a[1],$b[1]);
}
usort($array, 'mycmp');
...something like that at any rate.
-Steve
On Thursday, November 15, 2001, at 10:07 AM, Richard S. Crawford wrote:
> Of the type...
>
> $array[0][0] = "!row of c's"
First, thak's all for the answers.
I didn't understood what's happend, but I've solved the problem using a
Header("location: ".$PHP_SELF."?celebID=".$ID) after the update command,
passing the same ID I used to update on it. I don't know if it is the best
way, but now I have the "refresh" of the pa
Sondra Russell wrote:
> Yes, I saw the discussion a few days earlier on this topic, but I'm
But did you check the archives for the same discussion last month, the
month before, the month before that, ... :-)
> wondering if there is still some unmined wisdom out there about
> building a script
Jean-Arthur Silve wrote:
> Hi !
>
> I use the file function for accessing to pages on another server.
>
> It works perfectly.
>
> But if the server does not respond or is too long to send datas, the file
> function wait too long..
>
> Is there a way to tune the time out ?? I would like that i
Jaime Iniesta Aleman wrote:
> Hi, is it possible to send SMTP mail if the server where are my pages
> hosted forbids the use of the mail() function ? I mean, by opening a
> sockets connection to an external SMTP server and writing the commands
> there directly...
Yes, *IF*:
The ISP was not smar
Joe Van Meer wrote:
> This seems to work, however, if I close out my browser and say type in
> main.php (this page has the above code) in the address bar I can still
> access the page. How can I fix this? Is there something else I could be
> doing to improve the functionality?
> Any insights woul
hi,
i have installed php406 over nt(sp6) with apache1.3.9.
Apache crashes when i try to loadmodule php.
it says something about DSO module.
thanks,
marcos
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
Bill Brennick wrote:
> ./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.22
> --with-xml --with-zlib --with-gd=/usr/lib --with-jpeg-dir=/usr/lib
> --with-png-dir=/usr/lib
For better or worse, configure does *NOT* crap out if you specify
--with-xxx-dir and it can't find it.
Paul Wolstenholme wrote:
> Greetings,
>
> I'd like to check to see if an ip is within an ip cidr style network
> block (192.75.242.157 with 192.75.242.0/23). Initially, I started off
> with some code derived from some perl code that I found (code below).
> However, the bitmask calcution did not
> -Original Message-
> From: Berthold [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 15, 2001 9:11 AM
> To: PHP General
> Subject: [PHP] First CGI, then PHP
>
>
> Is it possible to add PHP-code into the html-templates of
> ht://dig?
>
> The problem is the execution after or befo
Dan McCullough wrote:
> I want to show a default piece of information if my query returns no
> result, and what I mean by no result is the query for a store in a certain
> state doesnt exist.
http://php.net/mysql_num_rows
(Or sybase_num_rows, or odbc_num_rows, or whatever your database is.)
If
Yep, 'variables_order'.
-Original Message-
From: George Whiffen [mailto:[EMAIL PROTECTED]]
Sent: 15 November 2001 06:30
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Session
For the record:
You can control the order of precedence of variable reading
through a php.ini setting, variable_order
Berthold wrote:
> Is it possible to add PHP-code into the html-templates of ht://dig?
>
> The problem is the execution after or before the CGI-prog has run.
> Of course I need 'after'. But how can I do that?
No.
Actually, Apache 2.0 was *SUPPOSED* to have "stacked handlers" so that CGI
(Perl)
Christopher Raymond wrote:
> What's the deal with the newsgroup version of this list? I'm using
> news.php.net as the news server address, but all I get are error messages.
What error messages are you getting?
You can't *POST* through the newsgroup -- Reply via email to
[EMAIL PROTECTED], and
WS-FTP LE works for me.
I've used it for years now.
You can find it at Download.com
Bunch of stuff there.
"Rudi Ahlers" <[EMAIL PROTECTED]> wrote in message
012e01c16d53$5b582120$0c00a8c0@camelot">news:012e01c16d53$5b582120$0c00a8c0@camelot...
> Sorry for the totally OT question, but can anyone
Eric Trezza wrote:
> I need some help regarding the creation of a text file which is a XML
> file. Actually, PHP creates the file without any problem and the XML
> format is fine. My only trouble is that it take on average 3 or 4 minutes
> to perform the task.
> Do you have any idea why it takes
Peter Frlicka wrote:
> Hello.
>
> What does apache + php do if the user refreshes a page 10 times in a while
> before the scripts finishes? do all 10 .php scripts finish or do the first
> 9 get aborted? how can i solve the problem that when someone clicks a lot
> on a link (always the same link)
This has probably been dealt with before, but I'm unable to get my link to
open in the target frame, it always opens in the same frame. This line of
code:
printf(" %s \n",
$target_url, $myrow["member_id"], $myrow["member_id"]);
typically expands, when the mouse pointer is placed over it, to
In your printf statement, you are targetting "sub_detl" whereas in your
frameset you name the frame "sub_dtl". Naturally, these values should
match.
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
[EMAIL PROTECTED]
- Original Message -
From: "Miles Th
I have a problem:I have a php page wich runs well when I run it, but when I
run a html page and links the php file, the source code is seen on the
screen. It´s like apache wouldn't understand php!!. Any ideas? Thanks
Hola!.tengo un problema y es que tengo una página .php que, cuando la llamo
por
Hi
I wonder if anyone have managed to compile PHP with cygwin. I get
several errors when doing this.
I also wonder if I intend to make a dll to extend PHP for windows,
should I then compile PHP with cygwin or with MS Visual C++?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To un
Hello,
I am trying to have a script that process a form and then sends the
person back to the form they were on if there are errors.
Does anyone know how I can get the url of the form that someone submit
to the script from?
Thanks
Brandon
Richard,
Thanks. I missed that completely.
Miles
At 09:47 AM 11/15/01 -0800, Richard S. Crawford wrote:
>Try:
>
>printf("target=\"sub_detl\">%s\n",$target_url,
>$myrow["member_id"],$myrow["member_id"]);
>
>The target attribute must be outside of the quotes which contain the URL
>string, as su
Gri wrote:
> Does anyone know how to compile a php extension in windows.. in linux it
> is simple.. just to install php source and compile the extension. it
> doesn´t work in windows.
You'll need MSVC++ 6.x or higher, and a whole lot of patience...
There's some configuration file or other somew
You could process the form in the same file
form action :
and in the header of the page
if ($Submit){
// YOUR ACTION HERE
}
Sjoerd van Oosten
Digitaal vormgever [EMAIL PROTECTED]
Datamex E-sites B.V.
http://www.esites.nl
Minervum 7368 Telefoon: (07
It's in the $HTTP_REFERER variable (speeling mistake intentional)
Be warned, though - not every browser supplies this in every circumstance.
Cheers
Jon
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: 15 November 2001 17:55
To: 'PHP User Group'
Subject: [PHP] Th
Brandon Orther wrote:
> I am trying to have a script that process a form and then sends the
> person back to the form they were on if there are errors.
>
> Does anyone know how I can get the url of the form that someone submit
> to the script from?
$HTTP_REFERER
In the future, the answer to s
Alejandro wrote:
> I have a problem:I have a php page wich runs well when I run it, but when
> I run a html page and links the php file, the source code is seen on the
> screen. It´s like apache wouldn't understand php!!. Any ideas? Thanks
If the file ends in .html, and you have not used AddType
[EMAIL PROTECTED] (Richard Lynch) wrote:
> Christopher Raymond wrote:
>
>> What's the deal with the newsgroup version of this list? I'm using
>> news.php.net as the news server address, but all I get are error messages.
>
> What error messages are you getting?
>
> You can't *POST* through the
Brandon,
Go to Juli Meloni's thickbook page, there is a tutorial there on PHP forms
which display error message. With a bit of tweaking it's exactly what you want.
http://www.thickbook.com
Miles Thompson
At 09:55 AM 11/15/01 -0800, Brandon Orther wrote:
>Hello,
>
>I am trying to have a scrip
Hi!
I have this using postmethod:
Then I'm trying to mail the result with the mail() function.
/* recipients */
$to = [EMAIL PROTECTED] ;
/* subject */
$subject = "Order";
/* message */
$message = "$customer want to order:\n $cheese, $ham , $peppernoi" ;
/* To send HTML mail, you c
0 && is_array($toppings)) {
$strtoppings = implode(', ',$toppings);
$msg = "The customer wants: $strtoppings.";
}
?>
Mike
Raymond wrote:
>Hi!
>
>I have this using postmethod:
>
>
>
>
>
>
>
>Then I'm trying to mail the result with the mail() function.
>
>
>/* recipie
> Hello, ive got a problem
>
> I want to replace this string:
> this must also be variable
>
> by:
>
> this must also be variable
>
> So the two tags should be placed before and after the link when a link is
> in my $pagecontent
>
> I know it's easier to use another class, but for the moment
Well you have an interestingly different approach!
Personally I kind of like either having the SQL statements in-line with the rest
of the code or functions that retrieve data for that particular query e.g.
function get_students($class) {
Anyway based on your approach:
1. You could still s
Hello list,
I'm just wandering what's better, require or include.
Greetings,
Sjoerd van Oosten
Digitaal vormgever [EMAIL PROTECTED]
Datamex E-sites B.V.
http://www.esites.nl
Minervum 7368 Telefoon: (076) 5 730 730
4817 ZH BREDA Telefax: (076) 5 877 75
It all depends on the purpose.
With require, the script will die on the spot if the file is not found.
Also, the code will always be included in the file.. so take this example:
file.php:
requiretest.php:
The run script would be:
Of course that code would never be executed, but the requi
I'll be teaching a web development class in the Spring in which I plan to
focus on PHP and MySQL as primary tools. These will be students who have
experience with HTML And web design, but most will have no experience with
programming at all.
I need recommendations for book(s) that will serve
Hi there, I have an upload form on my website that works great, however I
have come to a roadblock...how the heck do I rename the copied file?
Everytime I upload an image it overwrites the old one with the new. The code
below uploads the file and displays the following:
Your photo has been upload
"PHP and MySQL Web Development" by Welling and Thomson, from SAMS. ISBN
0-672-31784-2. An easy read, but covers everything you'd need. I'm a
little biased as a reviewer for your particular needs, since I've been
coding for many years, and thus skipped a bunch of the intro PHP language
chapters,
So far the best books that I have found for PHP and MySQL are:
PHP: Developer's Cookbook by Sterlings Hughes (SAMS)
MySQL/PHP Database Applications by Jay Greenspan & Brad Bulger (M&T books)
I believe another person on our mailing list is putting out a book soon...
hopefully maybe he'll rear hi
I also have the PHP & MySQL Web Development book and I used it to learn PHP and MySQL.
I think it is one of the better books.
my opinion..
Clint
-- Original Message --
From: [EMAIL PROTECTED] (Chris Lott)
Date: 15 Nov 2001 19:41:18 -
I'll be teachin
Chris Lott wrote:
> I'll be teaching a web development class in the Spring in which I plan to
> focus on PHP and MySQL as primary tools. These will be students who have
> experience with HTML And web design, but most will have no experience with
> programming at all.
>
> I need recommendations f
Joe Van Meer wrote:
> Hi there, I have an upload form on my website that works great, however I
> have come to a roadblock...how the heck do I rename the copied file?
> Everytime I upload an image it overwrites the old one with the new. The
> code below uploads the file and displays the following
Warning: Supplied argument is not a valid MySQL result resource in
/home/sites/projects.heathermccullough.com/web/copeland/product.php on line 61
Here is the code, I fixed it once, and I cant figure out why it keeps returning.
if ($submit) {
$sql = ("SELECT * FROM store WHERE state = '$State' AN
Sjoerd Van Oosten wrote:
> I'm just wandering what's better, require or include.
Neither is "better"
Now that PHP is being compiled to byte-code before execution, I don't
*THINK* there's any real difference...
If there *IS* a difference, it's about *WHEN* the code gets evaluated:
require wou
Thx Richard, I would like the files to all be dumped into one directory,
each with a unique name. Then I will create a path and store that in the db.
Thx for the ideas, I will check them out and get back to youvia this thread.
Cheers Joe:)
"Richard Lynch" <[EMAIL PROTECTED]> wrote in message
[E
Steve,
Thanks for the reply .. but you miss the point (which i probably did
not explain well). I already have a script called x.php. IT gets
called from links with all the info needed.
I have an instance where there will be no interaction between a user
so no 'clicking' of the link will happ
Because you are enclosing your $sql string within () brackets, $sql is
being set a boolean value, not the value of the string.
Change it to $sql = "SELECT * ... '$group_id'";
-Mike
Dan McCullough wrote:
>Warning: Supplied argument is not a valid MySQL result resource in
>/home/sites/projects.
Mike ..
thanks for trying .. but that simply is not useful.
On Mon, 12 Nov 2001 10:18:34 -0500, [EMAIL PROTECTED] (Mike Harvey)
wrote:
>Just "include(script2.inc)" in your loop.
>"David Tod Sigafoos" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>> I am sur
1 - 100 of 149 matches
Mail list logo