Hi
I have problems with a regular expression.
I have a html file like this:
Hello
somthing
And i want to use preg_match to get a list of all the tags in the
file:
result:
$list[0] = Hello
$list[1] = somthing
I have tryed this:
preg_match('/.*(\.*\<\/div\>).*/', $contents, $list)
Hi
I have problems with a regular expression.
I have a html file like this:
Hello
somthing
And i want to use preg_match to get a list of all the tags in the
file:
result:
$list[0] = Hello
$list[1] = somthing
I have tryed this:
preg_match('/.*(\.*\<\/div\>).*/', $contents, $list)
Hi
I have an array in php like this:
$arr[0][0] = "Something";
$arr[0][1] = "Hello";
$arr[0][2] = "Hi";
It is possible to post this array to another site in a form? Or how can i do
this?
Fred
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
racking my brains trying to figure how to associate the radio button
group with the hidden pid,
as to create a form that works as
pid1 <-- Setting
pid2 <-- Setting
pid3 <-- Setting
so that i could insert them into the datbase the same way,
~Fred
--
PHP General Mailing List (http://www.php.n
this is the code:
$page .= "";
this is the html source generated:
and this is what $pageid returns:
'on'
2 questions is
why? and how do i fix it?
thanks to all who take the time to awnser :-)
~Fred
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
I want to log into a game and access a page and parse it.
To Log into the game, youd have to use a form, so how do I do this in PHP?
If anyone has any ideas, or information, please help.
~Fred
[EMAIL PROTECTED]
ICQ 19551338
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
Thank you, ill look into fsocks at php.net.
~Fred
"Steve Werby" <[EMAIL PROTECTED]> wrote in message
096501c0d1dd$d324dd40$6501a8c0@workstation7">news:096501c0d1dd$d324dd40$6501a8c0@workstation7...
> "Fred" <[EMAIL PROTECTED]> wrote:
> > I want
*humps ad*
Keith Elder <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Do you need to get your staff up to speed on PHP? Are you a PHP
programmer, looking for a hands on approach to learning PHP? If you fit any
of these conditions or just want to learn more
error message on google..this will
usually lead to quick results
Fred
Melih Onvural <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> i know this isn't a linux newsgroup or listing, but i've seen
configuration
> problems in the past
Why not get rid of the stuff you do not need to send?
Just send the client number and then add the Client like%% stuff on the
other end.
Fred
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
> I try to send the content of a variable
problem, please let me know what
you did to resolve it.
Fred
--
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 may be easier.
If you are aware of a good example or tutorial for implementing NNTP with
IMAP I would appreciate a link.
P.S. Thanks for this wonderful tool.
Fred
Rasmus Lerdorf <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Why not
This guy has some great modular php rpms that will do the trick:
http://rpms.arvin.dk/php/
Fred
Duane Douglas <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hello,
>
> i have an apache rpm installed. stuff will break if i uninstall
WARNING
This will only work with PHP 4.1.0 or later.
Fred
Jerry Verhoef <[EMAIL PROTECTED]> wrote in message
1CDA86C6527BD311B91F0008C784121003D551D8@ugbiex1">news:1CDA86C6527BD311B91F0008C784121003D551D8@ugbiex1...
> Sorry for the late reply but maybe you should take a loo
upsetting your code.
Fred
Charlesk <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Every once in a while, maybe 10 times a day, scripts timeout. Different
scripts, different places in the script, different IP addresses.
> I wrote an auto_appe
securing your pages,
but no more insecure than using apache authentication in the first place.
Fred
Aaron Lake <[EMAIL PROTECTED]> wrote in message
H2b900fde0f4.1011030069.cscche.che.jb.traf.com@MHS">news:H2b900fde0f4.1011030069.cscche.che.jb.traf.com@MHS...
Hi,
I am usin
See the manual on references:
http://php.he.net/manual/en/language.references.php
$vNames[1] = &$variable
Fred
Gaylen Fraley <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> How can this be done?
>
> If I have the name of a variable
the document root for apache. Of course, this only works if
all of your scripts use the same server, user and password.
Fred
Duky Yuen <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> How can I secure my username and password? In 1 of my f
compiling from source (rather than installing from rpm)
and using the most recent versions, the only differences between my old
installation and my new installation is that apache no longer includes ssl
support and php is now compiled with--mnogosearch.
Any assistance is appreciated.
Fred
--
PHP
ideas?
Fred
Fred <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I had been developing a script which needs to include the output of a perl
> cgi script.
>
> Using the rpm versions of Apache 1.3.19 and PHP 4.0.6 I had no problem
us
://www.zend.com/store/products/zend-encoder.php) which allows you to
deploy your scripts without revealing the source code. That way, even if
someone manages to get access to the scripts, they will not have access to
the actual code.
Fred
Steven Walker <[EMAIL PROTECTED]> wrote in message
Hello,
I have a pb with mail() function.
my script run ok on a linux but not on a nt:
");
mail("fred <[EMAIL PROTECTED]>", "the subject", "message");
?>
On my windows nt server I can only run:
I have an error as soon as i use eaml like: mail <
This seems very odd to me for two reasons:
First, the max_execution_time is set to 0 (no limit).
Second, the script has otherwise executed successfully and should simply
terminate.
Has anyone had similar experiences? Any advice on how to correct this
problem?
Fred
--
PHP General Mailing
n.php should check
for the username and password variables. If they do not exist just show the
login form. If they do exist, check them for validity and if they are valid
register the session and print a link to main.php or use javascript to
redirect to that page.
Fred
Gustavo Luis Pereira
ile after the variables have actually been
set to their desired values.
Fred
--
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]
r example:
PrintMenu("Students",GetData(StudentsByClass));
will print a menu of student names whereas:
PrintAttendance(GetData(StudentsByClass));
would print an attendance report
Fred
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
particular
project I am developing. One thing is certain though, the thing that
excites me about programming is the ability to devise clever and abstract
ways to accomplish a task. I tend to offset the obtuse nature of my code
with a plethora of inline comments, just in case a maintainer (or I) ha
I agree with Chris and Richard, "PHP and MySQL Web Development" by Welling
and Thomson, from SAMS. ISBN 0-672-31784-2 is a great book which contains
primers for both PHP and MYSQL and then many chapters on how to use them
together in real world environments.
Chris Lott <[EMAIL PROTECTED]> wrote
, the
logic becomes more complex.
Fred
Jtjohnston <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> OK kids, I'm not 19 ... my old brain gets tired easily and my wife is
> complaining that I stay up too late PHPing :)
> Putting the rest
Try doing a Google search:
http://www.google.com/search?q=weather+php+script
There are plenty of PHP weather scripts already out there. Find one that
does most of what you want and change it to fit your needs.
Scott Atkins <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PR
you point
Konqueror at that file it is not using Apache to render it, it is just
treating it as a text file to view. Check Apache's httpd.conf file to see
what the document root is set to and either change it to var/www/html or
move your file to the directory that it is set to.
Fred
Douglas M
You may not be able to get an entire free book, but Amazon has lots of
sample chapters from several PHP books here
http://www.amazon.com/exec/obidos/search-handle-form/103-3308426-8753433
Trongduc <[EMAIL PROTECTED]> wrote in message
004d01c16f94$3ddcd490$190b10ac@d">news:004d01c16f94$3ddcd490$
I'm not sure where you found the function mysql_store_result, but it is not
a built-in PHP function and that is why you are getting an error.
If you just want to return Match if one or more rows in the group match the
first name use something like this:
function LookupFirstname ($FName, $Group,
Brilliant. For those of us unfamiliar with the laws of de Morgan:
http://www.unc.edu/~rowlett/Math81/notes/DeMorgan.html
Fred
Jimmy Elab <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> de Morgan and Boole, not Alzheimer nor Confusius
>
&g
all of the column
types includeing date, varchar and char.
Good Luck
Fred
Trongduc <[EMAIL PROTECTED]> wrote in message
000201c16ff6$ff36e470$1b0b10ac@d">news:000201c16ff6$ff36e470$1b0b10ac@d...
> hi there,
> I try to save a record (in the "date" type in MySQL) from t
17 should equal 16
1 and
10001 equals
1
My script has no problem generating the expected result here.
Perhaps this problem arises from the loosely typed nature of PHP variables,
but I do not see how it could. Any pointers would be appreciated.
Fred
--
PHP General Mailing List (http:
that they be cast before the expected
result can be had. I am not sure if this was intentional, but it certainly
is confusing. I think a blurb in the manual would be very helpful.
Fred
Fred <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
To answer your first question, some search engines, such as Google, will
crawl URLs that contain GET variables. Others will not. There is a way
around this by creating links such as index.php?/Men/Shirts/Blue/XLarge and
using the $PATH_INFO variable to parse the URL and spit out the needed
vari
assed via
GET without the need for casting. That is just not the case with the
bitwise operators.
Fred
--
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-mai
Look in the Manual under Variable Variables.
Fred
Gerard Samuel <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hey all. Im debugging a script that was written by someone else, and
> alot of the variable has 2 '$$' in
ven if the
variable is set in an included file. The reason is that the included file
is included before the variable is evaluated.
Fred
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
rather
advanced database applications.
Fred
Sjoerd Van Oosten <[EMAIL PROTECTED]> wrote in message
C9F89DA57491D511BDAF00E0180C348103BFE5@ESADM01">news:C9F89DA57491D511BDAF00E0180C348103BFE5@ESADM01...
>
> Hello,
>
> I'm working on a project planning system and what i w
If you just need the filename of the include file you can set it in code by
assigning it to a variable at design time. Something like $ThisPage =
"include.php". You could also do this for the entire path, but it would
need to be changed whenever you put the script in a different pla
aRow);
PrintDay($Attend,$Credit,$t,$mon,$year);
mysql_free_result($Result);
}
else
{
echo $t;
}
echo "";}}
}// for -col
if (($row + 1) != ($end+1))
echo "\n";
else
echo "";
}//
Glad to help. I'd be interested to know how it works out.
Fred
Sjoerd Van Oosten <[EMAIL PROTECTED]> wrote in message
C9F89DA57491D511BDAF00E0180C348103BFF1@ESADM01">news:C9F89DA57491D511BDAF00E0180C348103BFF1@ESADM01...
> Fred thanks a lot, yo
I may be wrong, but I believe that allow_url_fopen needs to be turned on in
the config file for this to work.
Fred
Mike Webby <[EMAIL PROTECTED]> wrote in message
011001c171f6$26da0380$0200a8c0@nay">news:011001c171f6$26da0380$0200a8c0@nay...
include ("http://www.somesit
EGPCS". Setting this to
"GP", for example, will cause PHP to completely ignore environment
variables, cookies and server variables, and to overwrite any GET method
variables with POST-method variables of the same name.
Fred
Richard S. Crawford <[EMAIL PROTECTED]> wrote in messa
user will write their own as they fill in a form, even if they
do enter other html such as links.
Fred
Richard S. Crawford <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
My database contains a field which may or may not contain HTML code,
depen
I know of no way to do this automatically with PHP. I think you can pull it
off with some javascript.
Wm <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi all,
>
> if i pass data through a form (post) to a php script(script must be
> separate from form)
>
user you normally login as.
If you do not have root access you will need to write a php script to delete
the files for you. Since all PHP scripts run as the user Apache is run as,
files created using PHP can also be deleted with PHP.
Fred
Vedha Kannan <[EMAIL PROTECTED]> wrote in m
t for
WDDX.
Fred
Geoff <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all
>
> I've asked the Authorware user group but got no response, and am wondering
> whether anyone else has tried this.
>
> I use mainly PHP (somet
username before displaying the edit buttons
Fred
Mark <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
using apache to do the authorization is the cheap and easy way. If
you want something more advanced you should use a cookie. There's
prob
If insert works and update does not, I would guess it is because you spelled
the table name wrong in the update query.
Fred
Rodrigo Peres <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I have a table in mysql that stores some i
want to be able to test their PHP scripts on a windows box, but do not want
to have to install all of the software seperately.
Find it here:
http://www.phpgeek.com/modules.php?op=modload&name=Downloads&file=index&req=
viewdownload&cid=1
Fred
Rob Bennion <[EMAIL PROTECTED]> w
se in
auto_prepended files, you can use it with little or no modification on any
site you desire.
Fred
Jeff Hill <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Thanks for the suggestion, but no, it was something else. What else it
> was,
, I can
tell you from experience and common sense that there is no way that
autoprepending a simply session script is going to take more system
resources than the apache authentication method outlined above.
Fred
Jeff Hill <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]"&
. Since I
am not familiar with your set up or code, you will need to read the mysql
docs to determine if this is in fact the situation you find yourself in.
Fred
Avi Schwartz <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I have a s
Read the RFC for POP3.
http://www.hio.hen.nl/cgi-bin/show-gz/rfc/pop/rfc1725.txt.gz
Fred
Yura <[EMAIL PROTECTED]> wrote in message
3BFD3620.32115.1873696@localhost">news:3BFD3620.32115.1873696@localhost...
> Hi,
>
> does anybogy know pop3 box management commands? I'm
It indicates that the variable was passed by reference rather than by value.
Fred
Girish Nath <[EMAIL PROTECTED]> wrote in message
000f01c1736c$714abc30$015b10ac@AERIS">news:000f01c1736c$714abc30$015b10ac@AERIS...
> Hi
>
> I've been looking at some classes an have c
Please post a verbatim copy of the error. We have no way of knowing what is
happening with such a generic description of the problem.
Fred
Stephen Phillips <[EMAIL PROTECTED]> wrote in message
000e01c17379$643f6d80$21937ad5@stevephillips">news:000e01c17379$643f6d80$21937ad5@steve
factors.
Fred
Stephen Phillips <[EMAIL PROTECTED]> wrote in message
002001c1737b$6b36a700$21937ad5@stevephillips">news:002001c1737b$6b36a700$21937ad5@stevephillips...
lol, ok (sorry I've been staring at a text file looking for bugs for 3
hours)
this is the type of error msg phpm
submit the form the results immediately appear in an excel spreadsheet.
This situation worked out for both of us because I am in no way responsible
for compatibilty
or performance issues with other applications and yet they have the ability
to use the data
in any manner they wish.
Fred
George
There is no need to reinvent the wheel here. MySQL has a built in function
to do exactlywhat you want to do.
Check out LOAD DATA INFILE here: http://www.mysql.com/doc/L/O/LOAD_DATA.html
Fred
Yoed Anis <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]
think they
contain.
Fred
Chris Janes <[EMAIL PROTECTED]> wrote in message
000e01c177c1$79a78620$a25ffea9@d7e5f4">news:000e01c177c1$79a78620$a25ffea9@d7e5f4...
> Ok, this may well turn out to be a total newbie question. But it's got me
> stumped.
>
> I'm t
You have already pulled the data into an associative array with the column
name as the array key. Use
array_keys() to spit out the column names at the top of your table.
Fred
B <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> i have creat
this
error the second time it is included.
Fred
William Sanchez Sanchez <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I got that, Why it could be?
Fatal error: Cannot redeclare reporte_llamada() in
c:\Inetpub\wwwroot\online\includes\funciones.php
t;(\r|\n)","",$buffer);
134 return $buffer;
135 }
Fred
Yura <[EMAIL PROTECTED]> wrote in message
3C054EE3.19234.2726172@localhost">news:3C054EE3.19234.2726172@localhost...
> I have a global variable
> $socket_open = fsockopen($pop_server, 110, $errno, $er
le and it exists on localhost where I have granted privileges.
Fred
--
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]
Simply echo whatever html you would normally use to embed the animation in
an iframe.
Fred
Bryant Brabson <[EMAIL PROTECTED]> wrote in message
001201c1785f$dd959ac0$648e90d1@bryant">news:001201c1785f$dd959ac0$648e90d1@bryant...
I have a flash file that I need to embed in an ifram
heets.
Unfortunately these files are binary and are not easily created. As a
result it may be impossible to accomplish what you ask.
Fred
Brian Lee <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a script that searches a MySQL DB and
detailed chapter and sample code for building a shopping cart.
Fred
Martin Wright <[EMAIL PROTECTED]> wrote in message
01c1786d$dde9cce0$5aa3fea9@serv">news:01c1786d$dde9cce0$5aa3fea9@serv...
> Can someome recommend such a book to a relative newcomer. I'm looking
>
if,
for instance, you have used some advanced configuration options when
installing mysql or have patched the mysql sources.
Fred
<[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi, guys. Just want to confirm when I install all the other librar
expression
before the ? evaluates to false then the whole expression evaluates to the
expression after the :
This is a really effective shorthand for if..then...else if you are just
going to assign different values to a variable based on the outcome of the
if statement.
Fred
Gerard Samuel <[EM
How are you passing the name of the database? Are you replacing 'sample_db'
in the line:
$link_id = db_connect('sample_db');
in show_more_db.php?
If so, then I do not see where there would be a problem.
Fred
Ian <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECT
treat the
fields.
Fred
Matthew Clark <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a PHP script that outputs several lines of comma separated values..
I
> would like to display this output in Excel without having to write the
You will not be able to use this and many other functions on a php3 only
machine. For your convenience, all of the function references in the manual
state which versions of php support them and which do not.
Fred
Steve Osborne <[EMAIL PROTECTED]> wrote in message
008401c17916$dd87f200$
I'm not sure what that script is supposed to accomplish, it seems a bit
obfuscated and useless to me, nevertheless it correctly used the supplied
database rather than the default one when I tested it. You may want to make
sure that your sample_db actually exists.
Fred
Ian <[EMAIL P
The first one looks like a *nix directory and the second one looks like a
windows direcrory. Perhaps it will work if you switch your slashes around.
Fred
De Necker Henri <[EMAIL PROTECTED]> wrote in message
3A8ED7A62794D311AA7700508B6164EC08DCA3F2@SCPTS01
I tackled a similar problem by running a root cron job that does the chown
and chgrp every x minutes.
Fred
Paul Warner <[EMAIL PROTECTED]> wrote in message
023601c179b6$a35bdd80$[EMAIL PROTECTED]">news:023601c179b6$a35bdd80$[EMAIL PROTECTED]...
> Ahh, it is not running with ro
you have more specific information for
this list.
Fred
Chip Wiegand <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
> I just want a simple page that pulls the data from a database (got that
> working fine, no problem),
> and on that
file_exists takes a string argument.
/images/$filename is not a string.
try "images/" . $filename instead.
Fred
Prolog <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I had a script that was running beautiful that simply called up
that is the case then you need to add (passcode) tot he end of your query
so that mysql knows that the fields in the text file are to be inserted in
the passcode column. mysql will then insert an id and the passcode for each
row.
Fred
Tyler Longren <[EMAIL PROTECTED]> wrote in message
0
What is not working? Are you getting an error message?
Fred
Obasi Adande George <[EMAIL PROTECTED]> wrote in message
000801c17ab6$5d77bf90$b6d45ed1@tbird">news:000801c17ab6$5d77bf90$b6d45ed1@tbird...
I have been trying to get apache2 to load the php4 module for a while
with 2149 lines of code ;)
Fred
Jason G. <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello all,
>
> I have ran across this error a number of times, and for those of you who
> are or will pulling out your hair, read on.
>
>
database settings must be in a file is because you obviously cannot access
the database without them (unless you use default settings in the php.ini
file).
Fred
Jeff Lewis <[EMAIL PROTECTED]> wrote in message
002801c17ad9$7ec8b820$0100a8c0@cr983033a">news:002801c17ad9$7ec8b820$0100
either the global or session
variable was changed in the first part of your example.
Fred
Andrew Forgue <[EMAIL PROTECTED]> wrote in message
002c01c17af4$a765f390$6701a8c0@ajf">news:002c01c17af4$a765f390$6701a8c0@ajf...
Hello,
Slight Problem:
--
This piece of code:
session
d to the other tables.
Find a tutorial on the web about database normalization to learn how to best
design your databases. This should be the first step in the application
design process and all other work should be based on it.
Good luck and happy PHPing.
Fred
Masudi Olivier <[EMAIL PRO
though bulletin boards are not the most complex of
applications, they require a knowledge of many many PHP and MySQL basics.
Take the time to learn those basics before trying to swallow the whole
thing.
Good luck.
Fred
Anthony Ritter <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]&q
is to work correclty on any of them.
Has anyone had success in getting IE to use the correct filename when
downloading dynamically generated files?
Fred
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To c
LOL
Of course it worked. Open Source outwits MS yet again.
Fred
Rasmus Lerdorf <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You could just trick it with a URL like:
>
> http://your.domain.com/script.php/query.csv
>
> IE wil
That works fine in IE but does not work in NS, undoubtedly because it does
not conform to the RFC.
Fred
Jason Murray <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I am attempting to allow users to download csv files that are created
&g
Strings in your sql query must be quoted. Try this instead:
>$result = mysql_query("SELECT * FROM ar
>LEFT JOIN company on ar.company_id=company.company_id
>LEFT JOIN scale on ar.scale_id=scale.scale_id
>WHERE item_number = \"$item[$index]\")";
When you attempt to print or echo an array the result is simply "array".
You have to iterate through the elements of the array to see what each
element contains. Read the array chapter in the manual for more
information.
Fred
Jose <[EMAIL PROTECTED]> wrote in message
[EMAIL
with these variables:
$First, $Second, $Third
containing the value of the respective fields.
Fred
Baloo :0) <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Someone came with a very clever solution to simplify the extraction of
> all
> fie
It would be difficult at best to answer your question without first knowing
two things:
1. What did you expect it to do?
2. What did it actually do?
Fred
Stefan Isarie <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hey,
>
> I
escape sequence for
NULL.
In the script that inserts the form data just add something like:
if ($Date == "") $Date = "/0";
somewhere before the insert.
Fred
<[EMAIL PROTECTED]> wrote in message
BB6D932A42D6D211B4AC0090274EBB1DA0F139@GLOBAL1">news:BB6D932A42D6D211
he httpd.conf for Apache, although they *might* change it if I
know what to ask them... ;-)
TIA
Fred
/* New to Linux (nine months) and PHP (2 weeks) but loving it! */
==
Uploaded file name:
$File_name\n");
pri
See my post today about a file upload problem, which includes a complete
script to do this (and more). My script works, but
times out on very large files, otherwise it is a champ...
Fred
On Mon, 03 Dec 2001 15:16:09 -0500, Jim wrote:
> http://www.php.net/manual/en/features.file-upload.
Sorry, no can do, I can't stand SPAM, and I don't need any more email.
Just reply to the newsgroup. I can read it there, and it may help others
- that is what newsgroups are for!;-)
On Wed, 05 Dec 2001 03:57:05 -0500, Mirek Novak wrote:
> fix your email to receive answers FIRST!
>
> M.N.
Now that you've "helped" me, go and help someone else...please.
And yes, I did read the manual and several books on PHP already.
Have you?
On Wed, 05 Dec 2001 04:09:00 -0500, Mirek Novak wrote:
> so, RTFM
>
> HTH
>
> M.N.
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
1 - 100 of 172 matches
Mail list logo