o do e-commerce type stuff like purchasing items, or even have
user accounts.
Considering they don't allow cookies, these same users probably don't want
to sign up and give you their information anyways.
Use sessions, that is what they are there for.
Jason Lotito
www.devnetwork.net
Just for reference, there is www.alt-php-faq.org
as well as www.devnetwork.net the home of the PHP Developer's Network
We might be able to work something out in providing assistance to this
effort.
Jason Lotito
www.devnetwork.net - The PHP Developer's Network
www.newbien
anual, and frankly, the ChangeLog is the only placed
mentioned.
Thak you for your time.
Jason Lotito
A PHP Developer's Network Founder
www.devnetwork.net
www.newbienetwork.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try including a in the cell
- Original Message -
From: "Vlad Kulchitski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 20, 2002 1:11 PM
Subject: [PHP] HTMLnetscape issue
Hi,
Sorry for repeating myself, but am lost and still can't find a solution
to
Why not compare them in the SQL Query itself?
Jason Lotito
www.newbienetwork.net
- Original Message -
From: "Balaji Ankem" <[EMAIL PROTECTED]>
To: "'Jan Rademaker'" <[EMAIL PROTECTED]>
Cc: "Php-General" <[EMAIL PROTECTED]>
Sent:
into $string = HELLO?
-
http://www.php.net/manual/en/function.strtoupper.php
Jason Lotito
Programmer & Developer
Clockmedia Inc.
Designing Tomorrow's Games, Today!
1-877-625-6256
514-908-2800
Fax: 514-908-2803
--
PHP General Mailing List (http
$d = array();
$l = array();
$l[0] = array(1, -360, 1, "CHICAGO");
$l[1] = array(1, -420, 1, "EDMONTON");
$l[2] = array(1, -540, 1, "FAIRBANKS");
- Original Message -
From: "Gary" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 25, 2002 4:15 PM
Subject: [PHP] Converting
t's going to have to wait until
> > I'm done with this project.
http://www.newbienetwork.net/content.php?id=56
That article basically sums up my approach on anything this nature. Of
course, I am lucky enough to be working in a place which uses PHP/MySQL for
practically everything,
Hello,
As an American working in Montreal, Canada, I am very much interested in
finding out if there are any english-speaking PHP or Linux User Groups in
the area, or if fellow Montreal PHP users would like to form one.
Lets get together and spread the knowledge =)
Jason Lotito
Programmer
Answered below:
- Original Message -
From: "Sean Hurley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, February 10, 2002 11:40 PM
Subject: [PHP] Forms and IE
>
> Please forgive me if this has been covered before. I have searched the
list
> and could not find reference to a s
You can also find good information for PHP here:
www.phpdeveloper.org
www.phpbuilder.com
www.newbienetwork.net
www.phpbeginner.com
www.php.net // of course =)
www.devshed.com
Jason Lotito
Programmer & Developer
Clockmedia Inc.
Designing Tomorrow's Games, Today!
1-877-625-6256
514-908
What you need to do is make sure the same person doesn't vote twice
either via cookie, session, or comparing IP address. These are all
simple solutions. For example, if the IP address is the same as stored
in the DB, then the person as tried to vote twice, and you can prevent
that.
Site(&$dbObj)
{
$this->db =& $dbObj;
}
Like that.
Jason Lotito
[EMAIL PROTECTED]
www.NewbieNetwork.net
> -Original Message-
> From: Matt Friedman [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, December 09, 2001 1:34 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] - Refere
I would suggest Web Application Development with PHP 4.0
ISBN: 0-7357-0997-1
Excellent book, covering developing applications, methodologies,
concepts and theories, and using PHP to do the work. A bit old (July
2000) but covers well the concepts.
Jason Lotito
[EMAIL PROTECTED
S" =>
$completions,
"YARDS" => $yards,
"TD" => $td,
"INT" => $int );
}
echo $quarterbacks["GARCIA"]["YARDS"];
Jason Lotito
[EM
There is a way to turn off HTML in Errors in PHP. This is done in
php.ini or you can use the ini_set() function to change the value.
html_errors
boolean
Turn off HTML tags in error messages
http://download.php.net/manual/en/configuration.php
Jason Lotito
[EMAIL PROTECTED
Reading the Bug report, it was mentioned if you want precision
mathmatics, use BCMath
http://www.php.net/manual/en/ref.bc.php
That will give you the precision you are looking for.
Jason Lotito
[EMAIL PROTECTED]
www.NewbieNetwork.net
> -Original Message-
> From: George Whiffen [
Something like this for the SQL
SELECT ( t1.price + t2.price ) as total FROM table t1, table t2 WHERE
t1.id=1 AND t2.id=5;
Jason Lotito
[EMAIL PROTECTED]
www.NewbieNetwork.net
> -Original Message-
> From: Alen Nonkoviè [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 03,
PHP Developer's Cookbook, most definetly.
http://www.amazon.com/exec/obidos/ASIN/0672319241/telvinsarchive
In all honesty, if I had just one book to choose, this would be it, and
along with the PHP Manual online, is a wonderful reference.
Jason Lotito
www.NewbieNetwork.net
PHP Newsletter:
You mean something like this:
http://www.newbienetwork.net/phpcodems.php?as=viewcode&id=14
Jason Lotito
www.NewbieNetwork.net
PHP Newsletter: http://www.newbienetwork.net/ciao.php
PHP, MySQL, PostgreSQL Tutorials, Code Snippets, and so much more
> -Original Message-
> F
nl2br()
http://www.php.net/nl2br
Jason Lotito
www.NewbieNetwork.net
PHP Newsletter: http://www.newbienetwork.net/ciao.php
PHP, MySQL, PostgreSQL Tutorials, Code Snippets, and so much more
> -Original Message-
> From: Joeri Vankelst [mailto:[EMAIL PROTECTED]]
> Sent: Monday
@$title = $data[title];
echo "\n";
echo "$title";
echo "\n";
}
echo "\n";
}
echo "";
echo "\n";
?>
Jason Lotito
www.NewbieNetwork.net
PHP Newsletter: h
echo "\n";
echo "$title";
echo "\n";
}
echo "\n";
}
echo "";
echo "\n";
?>
Jason Lotito
www.NewbieNetwork.net
PHP Newsletter: http://www.newbienetwork.net/ciao.php
http://badblue.com/
That should be what you are looking for.
Jason Lotito
www.NewbieNetwork.net
PHP Newsletter: http://www.newbienetwork.net/ciao.php
PHP, MySQL, PostgreSQL Tutorials, Code Snippets, and so much more
> -Original Message-
> From: Parag Mehta [mailto:[EMAIL PRO
they sometimes forget to actually read the email, rather
than just scan the email for common key words and phrases signifying a
newbie with a RTFM type question.
While I don't know what was used to create the PHP .chm files, here is a
listing of a set of freeware programs that can be used:
Jason,
I hope you don't mind, but I posted your script in my Code Depository
located here:
http://www.newbienetwork.net/phpcodems.php?as=viewcode&id=24
You are given credit, and hopefully it can get some use out of it.
Either way, thanks for showing us. =)
Jas
You are looking for the function nl2br()
Information here: http://www.newbienetwork.net/article.php?sid=70
And here: http://www.php.net/manual/en/function.nl2br.php
See echo statement below for example implementation.
Jason Lotito
www.NewbieNetwork.net
> -Original Message-
>
to scan each word for an email
> address and then convert them from there?
>
> Thanks in advance,
You can find the code here:
http://www.newbienetwork.net/phpcodems.php?as=viewcode&id=6
Enjoy.
Jason Lotito
www.Newbienetwork.net
--
PHP General Mailing List (http://www.php.
>
> Dear sir,
> I am new to php.kindly recommend me tutorials tp get started.
> thanks asif
>
www.newbienetwork.net
www.phpdeveloper.org
www.devshed.com
www.webmonkey.com
www.irc-html.com
www.phpbuilder.com
www.zend.com
Jason Lotito
www.NewbieNetwork.net
--
PHP General Mai
This is not a Newsgroup. It is a Mailing List. That means ALL the
emails are stored on your computer.
So, the answer to both your questions is however much you want to keep.
Jason Lotito
www.NewbieNetwork.net
> -Original Message-
> From: Paulo Rocha [mailto:[EMAIL PROTECTED]]
arious browsers, I know it works in IE, and don't see any reason
why it wouldn't work on other browsers. After this, they simply click
agree, and the normal file uploading procedure goes from there.
Jason Lotito
www.NewbieNetwork.net
VI VI VI : Editor of the Beast
--
PHP General Mailing
<- For
PostreSQL
http://techdocs.postgresql.org <- Other docs on PostreSQL.
Jason Lotito
www.NewbieNetwork.net
--
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]
/www.foo.com";;
$string = str_replace("http://","",$string);
echo $string;
Will echo out:
www.foo.com
For more information:
http://www.php.net/str-replace
Jason Lotito
Webmaster Newbie Network -> http://www.NewbieNetwork.net
EIC PHP Weekly Newsletter -> http://w
>
Mockery is the biggest form of flattery. haha..I just laughed and drove on.
Jason Lotito
www.NewbieNetwork.net
http://www.faqts.com/knowledge_base/view.phtml/aid/8720/fid/455 <- New to
the List, Read This
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAI
I suggest reading this:
http://www.newbienetwork.net/sections.php?op=viewarticle&artid=10
Jason Lotito
www.NewbieNetwork.net
> -Original Message-
> From: Manesh [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 27, 2001 8:24 PM
> To: [EMAIL PROTECTED]
> Subj
e, I HAVE used uppercase methods to
> find portions
> and so forth. Any help is suggested!!
Seriously consider using MySQL or PosgreSQL, or some other form of DBMS.
They will make your life so much easier.
Jason Lotito
www.NewbieNetwork.net
--
PHP General Mailing List (http://www.php.net
x27;t want to overpay and lose profit,
but don't want to underpay and insult anyone).
Thanks
Jason Lotito
www.NewbieNetwork.net
Where those who can, teach;
and those who can, learn.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
> -Original Message-
> From: Tony Daniels [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 18, 2001 8:18 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Newbie Help!! Please Look!
>
>
> Hello,
>
> I need to know if there is a program out there that I can use to edit
> the PHP files.
Any
> Subject: RE: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server
I wonder if they charge extra for HTML hosting? =)
But seriously, WoW! My own dedicated OC3 line! Man, for only
$8/month..that rocks!
> > I am offering php hosting with features at a price no one else has, as
> > far as I k
experienced errors)
with links that were linked like that. I believe it was a Lynx user, or
maybe Opera, don't remember. However, the fact is that I suggest actually
putting the script name in there. =)
Jason Lotito
www.NewbieNetwork.net
Where those who can, teach;
and those who can, l
ant to have a combo box that will let me select one of the
> categories from the categories table.
>
> Is there anything like phpmyadmin that will let me do this
> without me having
> to write code.
>
> Any advice much appreciated
>
> Nathan Roberts
Yes, getting someone
perl but havent lookt that deep in PHP yet. any leads ??
> =)
>
> sincerly // Ken
www.newbienetwork.net
www.phpbuilder.com
www.phpdeveloper.org
www.devshed.com
www.php.net/manual
www.phpbeginner.com
Jason Lotito
www.NewbieNetwork.net
Where those who can, teach;
and those who can, le
ctions do I need to make to create an AUTO_INCREMENT
> column?
>
Can you post the current schema (design) of the table with datatypes, etc.
http://www.newbienetwork.net/sections.php?op=viewarticle&artid=10
Also, check out the above link, that my help some.
Jason Lotito
www.NewbieNetw
esn't, and that's why it's
> slightly (very slightly) faster.
>
> regards
> Wagner
>
http://www.e-gineer.com/articles/php-hackers-paradise.phtml
More details here on Print/Echo/Inline
Jason Lotito
www.NewbieNetwork.net
Where those who can, teach;
and those who can,
WoW. That is UberGeek! I am humbledcool...fear not, good sir, for that
list will become very handy indeed.
Jason Lotito
www.NewbieNetwork.net
Where those who can, teach;
and those who can, learn.
> -Original Message-
> From: Plutarck [mailto:[EMAIL PROTECTED]]
> Sen
; > $andor first_name LIKE '%$first_name' ORDER
> > BY last_name" or die("Nothing to see here");
> >
> > In this query, we are including the First Name. In this, we
> are also using
> > the $andor variable, which you can define as AND, or OR, or
&
>
> --
> Christian Reiniger
> LGDC Webmaster (http://sunsite.dk/lgdc/)
Can I get a URL to it?
No, no, Just Kidding, sorry, couldn't resist, sorry... oh...it has been a
long week.
=)
Jason Lotito
www.NewbieNetwork.net
Where those who can, teach;
and those who can, learn.
--
P
t_name" or die("Nothing to see here");
In this query, we are including the First Name. In this, we are also using
the $andor variable, which you can define as AND, or OR, or allow the user
to define it by using a radio box or the like when making the search. I
suggest sett
s true, I don't want people getting a hold of
passwords or other vital information. =)
Jason Lotito
www.NewbieNetwork.net
Where those who can, teach;
and those who can, learn.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
d be greatly appreciated.
> >
> > Michael Roark
I know this is not the direction you wanted to go, however, I have an
important question. Why would you need 2 databases? What is the stucture,
what are you trying to accomplish with the script, and why the need for 2
databases?
Th
If you could post the actual thing that he did, the actual script, that
would be helpful.
Jason Lotito
www.NewbieNetwork.net
Where those who can, teach;
and those who can, learn.
> -Original Message-
> From: Marthe Kristiansen [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April
Of course, you can always disable certain functions, etc, that you deem to
insecure. PHP is as secure as you make it.
~Nuff said
Jason Lotito
www.NewbieNetwork.net
Where those who can, teach;
and those who can, learn.
> -Original Message-
> From: Rasmus Lerdorf [mailto:
Looking into Database Abstraction, and I was recommended to Metabase. I
have looked over it, and found that I like it. However, I was looking to
gain further insight as to other people using Metabase, and their
experiences with it, good, bad, problems, no problems, etc.
Thank you
Jason Lotito
ot;],
> $myrow["first_name"], $myrow["mid_name"],
> $myrow["user_name"]);
>
> Best regards,
>
> Bob Stone
Limit the results returned in the actual SQL to 20 results.
Jason Lotito
www.NewbieNetwork.net
Where those who can, teach;
and those who can, le
http://newbienetwork.net/sections.php?op=viewarticle&artid=1
Read it, Learn it.
Jason Lotito
www.NewbieNetwork.net
Where those who can, teach;
and those who can, learn.
> -Original Message-
> From: Wen Ni [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 02, 2001 3:33 AM
> -Original Message-
> From: Christian Dechery [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 29, 2001 6:23 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] MS SQL errors...
>
>
> why do MS SQL reports errors so poorly on PHP?
>
> you can do anything with those errors, they're useless...
> -Original Message-
> From: Stephan Ahonen [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 29, 2001 5:20 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Better way (if...elseif...else)
>
>
> > $val = array("000","050","100");
> > $val_name = array("Low","Medium","High");
> > $count = c
OoPs! Yes, reset $selected, haha.
> if HTML readability is a concern you can also do something like the
> following( for static lists I find it easier this way ):
>
>
>
> >Low
> echo($priority_selected['050'])?>>Medium
> &
> -Original Message-
> From: Ashley M. Kirchner [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 29, 2001 1:56 PM
> To: PHP-General List
> Subject: [PHP] Better way (if...elseif...else)
>
>
>
> Is there a better way to write the following snippet:
>
> if ($priority == "000") {
cking up these line breaks so that the text will
> be formatted on my web page as it was on my form.
>
> Thanks
>
> Matt.
http://www.php.net/nl2br << Check out that function. that is what you
need.
Jason Lotito
www.NewbieNetwork.net
Where those who can, teach;
and those wh
passing
through YYY Software, to many it may not, and that is why this is the
PHP-General Mailing List, not the PHP-Master Mailing List.
This was NOT a flame, and no flame retardent clothing was needed. =)
Merely trying to quell a possible brush fire.
Jason Lotito
www.NewbieNetwork.net
Where th
gt;
> randy
$array = explode("\n", $input);
The input being the stuff fromt he textarea (or the scrolling text box as
you call it)
$array would be an array of the information...$array[0] would be the first
line, $array[1] the second line, etc.
Jason Lotito
www.NewbieNetwork.net
$test[2] = "789";
return $test;
}
and that would return the array $test, and therefore:
$test = setGlobal();
$test would be an array, and then you could set global in any function $test
and be able to use multiple values (as per the array). This is easier than
globa
like this:
function_name($array);
And then simply dissect the array inside the function like normal?
Thanks
Jason Lotito
www.NewbieNetwork.net
Where those who can, teach;
and those who can, learn.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
> -Original Message-
> From: Rami Krayem [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 27, 2001 11:49 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Newbie - MySQL Question - Finding Unique Names in Column
>
>
> I have a listing of photos in a table as follows (not actual
> column names
lready broken the
first normal form. Serious problems can develop from that implementation.
Rathers, use this format:
document_id users_allowed
--- -
001 1
002 2
003 1
003 2
0
pace that has php installed.
>
> what code would i incluse to get rid of this?
>
RTM:http://www.php.net/manual/en/function.stripslashes.php
Jason Lotito
www.NewbieNetwork.net
Where those who can, teach;
and those who can, learn.
--
PHP General Mailing List (http://www.php.net/)
To u
> Did you read what I wrote ?
> First I do code, and I have coded projects with as many as 60,000
> lines (clipper).
>
> In this case I run an ISP, work about 85 hours a week ( if that's
> lazy then I the
> laziest ). I have read most of the wrox PHP book (600 pages+), as well as
> havinging code
> -Original Message-
> From: YoBro [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, March 18, 2001 3:13 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] PHP & MYSQL BOOKS
>
>
> Hello,
>
> Does anybody know any good books & websites to recommend for PHP & MySql
> together. I am looking to advance my
k
> Dempsey
> Sent: Friday, March 16, 2001 11:09 PM
> To: Jason Lotito
> Cc: [EMAIL PROTECTED]; 'PHP General List. (E-mail)'
> Subject: Re: [PHP] Re: Invalid or Valid because the same.
>
>
> http://www.php.net/manual/en/function.mysql-num-rows.php
>
> jack
So sorry, your
> email is not
> valid.
>
>
> }
> else if ($num == 1) #Valid
> {
> ?>
> Sent mail.
>
>
>
>
o even a script that
does something like this, I could hack my way through it, but I have don't
know where to start with this. Thanks.
Jason Lotito
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai
look through
all my manuals, my own code, look back through the PHPManual and logically
deduce what the problem is. So far that method has worked very well.
Agreed, sometimes a function may not be working like I thought it would, and
I need someone to post some sample code for it in use, but
ind are
tutorials on the basics of Database Design.
I think this is the real problem. Try to run before they have learned to
crawl and walk.
Jason Lotito
www.NewbieNetwork.net
Where those who can, teach;
and those who can, learn.
--
PHP General Mailing List (http://www.php.net/)
To
It might not be it, but this stood out...
' tag...and you are escaping the '"'
print ("");
}
}
?>
Jason Lotito
www.NewbieNetwork.net
Where those who can, teach;
and those who can, learn.
> -Original Message-
> From: Mike Yuen [mail
75 matches
Mail list logo