Re: [PHP] Re: $_GET strings seperation

2007-06-02 Thread Navid Yar
Hey Jarred, Sorry I couldn't get to you earlier. Thanks again for all the help. And yes, I live maybe about 15-20 min from the new stadium. Take care... Navid On 5/27/07, Jared Farrish [EMAIL PROTECTED] wrote: On May 26, 5:39 pm, [EMAIL PROTECTED] (Navid Yar) wrote: Thanks so much Jarred

[PHP] $_GET strings seperation

2007-05-26 Thread Navid Yar
Hello Everyone, I have a problem with GET strings. I use $_SERVER[REDIRECT_QUERY_STRING] to get the value-pairs in the URL. The problem is that there is a cID variable that keeps appending itself to the string continuously everytime someone clicks on a different category link on the website. For

Re: [PHP] Re: $_GET strings seperation

2007-05-26 Thread Navid Yar
Thanks so much Jarred. It helps me learn more when there's an explaination on how the code works. I'll play around with it, change it a bit and give that a try. Take care... P.S. -- I'm in Arlington, TX On 5/26/07, Jared Farrish [EMAIL PROTECTED] wrote: On 5/26/07, Navid Yar [EMAIL PROTECTED

Re: [PHP] Re: help with multi dimensional arrays

2007-05-25 Thread Navid Yar
Hello Everyone, I have a problem with GET strings. I use $_SERVER[REDIRECT_QUERY_STRING] to get the value-pairs in the URL. The problem is that there is a cID variable that keeps amending itself to the string continuously everytime someone clicks on a different category link on the website. For

[PHP] Help With Recursion Multi-Dimensional Arrays

2003-11-08 Thread Navid Yar
Hello Guys, I need a little bit of help with recursion. I've searched our PHP website and Google, but none helped me understand my problem. There is a code below this message in order to help you understand what I am trying to achieve. Here is an explaination: What I'm trying to do is list a

[PHP] Image Manipulation/GD support

2002-03-23 Thread Navid Yar
Hello, I just enabled GD support for PHP via the php.ini file. When I try to run a script that uses the functions included in the library, it gives me a dialog box asking me whether I want to save the php file to a specific location or not. I don't need to save it, I need PHP to run it. This is

RE: [PHP] Image Manipulation/GD support

2002-03-23 Thread Navid Yar
To: Navid Yar Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Image Manipulation/GD support Try image/jpeg as your content-type On Sat, 23 Mar 2002, Navid Yar wrote: Hello, I just enabled GD support for PHP via the php.ini file. When I try to run a script that uses the functions included

[PHP] Database Error

2002-03-07 Thread Navid Yar
Ok guys, I need help with this one. I am getting the error: Error in query: SELECT label FROM menu WHERE id = '1'. Why am I getting this error? It seems right to me. I have the following code to call the class object, and I listed the class below it (I'm fairly new to classes): // Object being

RE: [PHP] Database Error

2002-03-07 Thread Navid Yar
[mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 3:51 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Database Error On Wednesday 06 March 2002 17:56, Navid Yar wrote: Ok guys, I need help with this one. I am getting the error: Error in query: SELECT label FROM menu WHERE id = '1'. Why am I

RE: [PHP] Database Error

2002-03-07 Thread Navid Yar
, 2002 4:36 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Database Error On Wednesday 06 March 2002 18:27, Navid Yar wrote: I'm thinking that it probably has to do with the quoting scheme or something else. I tried it on the command line, and it worked fine. I don't even think it matters what types

RE: [PHP] Database Error

2002-03-07 Thread Navid Yar
Yes, Jason. I posted it earlier, but here it is again. // Error I'm getting Error in query: SELECT label FROM menu WHERE id = 3 Warning: Supplied argument is not a valid MySQL result resource in e:\localhost\menu\menu.class.php on line 47 // Object being called from get.php ?php

RE: [PHP] Database Error

2002-03-07 Thread Navid Yar
the syntax on the MySQL command line and it worked just fine. So it's not the syntax either. I don't know what it could be :( -Original Message- From: Robert V. Zwink [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 3:42 PM To: Navid Yar Subject: RE: [PHP] Database Error Could you

RE: [PHP] form submission error trapping

2002-02-19 Thread Navid Yar
Message- From: George Whiffen [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 7:09 AM To: Navid Yar Subject: Re: [PHP] form submission error trapping Navid, $SCRIPT_NAME is sometimes a safer alternative than $PHP_SELF. The difference is that $PHP_SELF includes $PATH_INFO while

RE: [PHP] How to start a secure HTTP session?

2002-02-19 Thread Navid Yar
-Original Message- From: Janet Valade [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 12:15 AM To: gaukia 345; [EMAIL PROTECTED] Subject: Re: [PHP] How to start a secure HTTP session? To have a secure HTTP session, you must be communicating with a secure web server. This is

RE: [PHP] form submission error trapping

2002-02-17 Thread Navid Yar
Simply, to send a form to itself, you can use a special variable called $PHP_SELF. Here's an example of how to use it: if ($somevalue) { header(Location: $PHP_SELF); } else { execute some other code... } Here, if $somevalue holds true, it will call itself and reload the same script/file.

[PHP] MySQL error checking/matching

2002-02-16 Thread Navid Yar
Hello everyone, I have a problem. I have a test database (used to learn MySQL) with a table called customers and a field called email. The email field is set to be unique, so I know that by using: $query = select email from customers where email = $email; I will get one cell with the e-mail

RE: [PHP] i need a free php/mysql host with no ads!

2002-02-11 Thread Navid Yar
Ok, I don't need a server, as I have plenty. But I just had to say that we need more people like you in our world. You're a very nice guy, Liam. Take it easy... :) -Original Message- From: Liam MacKenzie [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 4:19 AM To: Balazs

[PHP] Need XML info for PHP -- XML Newbie

2002-02-07 Thread Navid Yar
Hello everyone, I'm a newbie when it comes to XML. I need to know if there's an easy-to-understand documentation/tutorial online that will help me understand how PHP and XML work together, what software technologies PHP uses to parse XML/XSLT documents, and how to actually build PHP to have

RE: [PHP] Need XML info for PHP -- XML Newbie

2002-02-07 Thread Navid Yar
PM, Navid Yar wrote: Hello everyone, I'm a newbie when it comes to XML. I need to know if there's an easy-to-understand documentation/tutorial online that will help me understand how PHP and XML work together, what software technologies PHP uses to parse XML/XSLT documents, and how

[PHP] Need XML info for PHP -- XML Newbie

2002-02-06 Thread Navid Yar
Hello everyone, I'm a newbie when it comes to XML. I need to know if there's an easy-to-understand documentation/tutorial online that will help me understand how PHP and XML work together, what software technologies PHP uses to parse XML/XSLT documents, and how to actually build PHP to have

[PHP] PHP code organization...

2001-11-22 Thread Navid Yar
Ok, this is very important to me, but I'm not sure how to explain it well. I am working on a project using PHP that supports about 6 different browsers and browser versions. All the code is in one single file for now, but I will eventually split the code up and call them using several include

RE: [PHP] Review of PHP-based content management systems? (Nuke, et al)

2001-09-30 Thread Navid Yar
Try hotscripts.com. They have rating systems for all kinds of content management systems available. They also give brief descriptions of each and a link to their sites as well. Navid Yar -Original Message- From: Kurt Lieber [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 30, 2001 12

RE: [PHP] XHTML and PHP

2001-09-29 Thread Navid Yar
there is no difference between: ? echo(?xml version=\1.0\ encoding=\UTF-8\?\n); ? and the correct solution noted above. Can someone explain this phenomenon to me? Thanks again in advance... Navid Yar -Original Message- From: David Otton [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 29

RE: [PHP] The future of PHP or my 2 cents

2001-08-30 Thread Navid Yar
I think with everyone replying to The future of PHP e-mails and putting in their two cents, we're eventually going to raise that $100,000 in no time. g Navid -Original Message- From: CC Zona [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 3:08 AM To: [EMAIL PROTECTED]

RE: [PHP] Re: line by line

2001-08-30 Thread Navid Yar
When using fgets() 3 times, does the pointer inside the file change positions? Navid Yar -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 4:57 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: line by line http://php.net/fopen http://php.net

RE: [PHP] Re: line by line

2001-08-30 Thread Navid Yar
Thanks Hugh, that makes a lot of sense. I shall look for further details about these functions and learn more about them. Thanks again for your input. Sincerely, Navid Yar -Original Message- From: Hugh Danaher [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 5:23 PM To: Navid

RE: [PHP] Sorry, I need HTML help

2001-08-29 Thread Navid Yar
Yes true, but the MARQUEE tag is deprecated and will no longer work in newer browsers. I don't suggest you use that approach. It's up to you... -Original Message- From: Alexander Deruwe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 8:15 AM To: [EMAIL PROTECTED] Subject: Re:

[PHP] str_replace() function help

2001-08-28 Thread Navid Yar
Hello, I am creating an online text editor for a magazine site and I want to be able to apply some CSS formatting into it. The following is the script that adds the br / tags where necessary, then it strips the br / tags by replacing them with some p tags with CSS formatting. The problem I'm

RE: [PHP] str_replace() function help

2001-08-28 Thread Navid Yar
: Tuesday, August 28, 2001 11:07 AM To: Navid Yar Cc: Php-General@Lists. Php. Net Subject: RE: [PHP] str_replace() function help This is the code I use for articles that are taken out of a database and the \n need to be changed to paragraphs $art = htmlspecialchars($art); $art = nl2br($art); $art

RE: [PHP] Re: The future of PHP -- accessory libraries

2001-08-27 Thread Navid Yar
I love PHP, but for the following reason it could be the death of it. All the PHP intellectuals stand up, get together, and solve this problem, or at least give us some reassurance. (I'm only a newbie after all). :) -Original Message- From: Dan Harrington [mailto:[EMAIL PROTECTED]]

RE: [PHP] PHP mysql admin?

2001-08-27 Thread Navid Yar
Thank you! :) Navid Yar -Original Message- From: Christian Dechery [mailto:[EMAIL PROTECTED]] Sent: Monday, August 27, 2001 8:58 PM To: Joseph Bannon; PHP (E-mail) Subject: RE: [PHP] PHP mysql admin? phpMyAdmin is very nice... but not even close to Mysqlfront... try it out... http

RE: [PHP] PHP mysql admin?

2001-08-27 Thread Navid Yar
I downloaded it and it was fine for me. Installation only requires you to unzip the files into some folder and run the Executable. Very easy and quick. I like it, so far. I like the GUI better than phpMyAdmin... -Original Message- From: Chris Fry [mailto:[EMAIL PROTECTED]] Sent: Monday,

RE: [PHP] Re: escaping special characters upon submit

2001-08-25 Thread Navid Yar
Try this: $text = nl2br(htmlspecialchars(stripslashes($text))); With $text being the data outputted. It will replace apostrophes, quotes, etc. with their proper html formatting. Example: input: PHP is Cool! html output: quot;PHP is Cool!quot; Then if you don't want the $quot;, or

RE: [PHP] text wrap in table

2001-08-24 Thread Navid Yar
Have you tried using the nobr tag along with the pre tag? The nobr tag will not allow the text to wrap. You can use it outside the pre tags and see what you come up with. It sounds simple, but it may provide you with the solution that you need. Navid -Original Message- From: Adrian

RE: [PHP] The future of PHP

2001-08-24 Thread Navid Yar
There are big players who have an eye on the open-source market right now, IBM being the biggest contributor. HP recently released their own Linux version on their desktop PCs and is marketing them as we speak. Microsoft is planning on giving away just part of their source code in their future

RE: [PHP] Concept of Templates

2001-08-23 Thread Navid Yar
But how? Are there any examples that I can take a look at somewhere? I would love to see some. I've always wondered about how the links work to trigger the template creation. Are there any samples or tutorials of that online? Usually all I see is how the templates are created, but nothing of how

[PHP] Concept of Templates

2001-08-22 Thread Navid Yar
Hello everyone, I have a simple question, and I hope I ask it correctly without any confusion. I want to build my own template scheme without using any 3rd party, ready-made freeware template codes. But I am confused about one thing. I am building a content driven website. The templates (such as

RE: [PHP] PHP and XHTML

2001-05-20 Thread Navid Yar
Hello Manuel, So you suggest that I use the name attribute in XHTML and ignore the fact that it has been depreciated and replaced by the ID attribute? Will that solve my problem? Navid Yar -Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 20, 2001 11:49

[PHP] Expense

2001-05-19 Thread Navid Yar
Clayton, you might want to try hotscripts.com. They have a load of scripts you can choose from, and it's all categorized as well. Good luck Navid Yar -Original Message- From: Clayton Dukes [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 19, 2001 2:22 PM To: [EMAIL PROTECTED

[PHP] PHP and XHTML

2001-05-18 Thread Navid Yar
this? Has anyone used XHTML and PHP together successfully, and if so how did you get around the previously mentioned problem? Any help woould be much appreciated, thanks in advance. Navid Yar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [PHP] Authentication

2001-04-20 Thread Navid Yar
and rechecking my code and it looks fine to me. It is also the exact script from the book, yet with the errata's corrections applied as well. Any help from you or any of our other collegues on this newsgroup would be helpful. Thank you for your response and attempt to help. Navid Yar -Original Message

RE: [PHP] mail() and stripslashes()

2001-04-20 Thread Navid Yar
Isaac, Something like this worked for me... ?php if ($article) { print stripslashes(nl2br($article)); } else { print 'Please a href="1.php"go back/a and type an article before sending.'; } ? Where $article would be the e-mail sent out in raw form. -Original Message- From: Isaac

[PHP] Authentication

2001-04-19 Thread Navid Yar
Hello, I'm somewhat new to PHP. I'm having problems with a script and I don't know why. It is from a book, yet it does not work for some reason. Both Apache and MySQL are on and are working fine on my system. The code deals with creating tables within a database (the database already exists. The

RE: [PHP] Want a Good Book for Ref on PHP

2001-04-16 Thread Navid Yar
You know, I was wondering the same thing. My situation is the same. My opinion is that the professional version probably strips out most of the beginner's content and adds more advanced php content and dives into everything in more detail rather than just trying to get a beginner off their feet

RE: [PHP] Counter Help

2001-02-23 Thread Navid Yar
Today!!! To see where PHP might take you tomorrow. -Original Message- From: Navid Yar [mailto:[EMAIL PROTECTED]] Sent: Friday, February 23, 2001 6:25 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Counter Help Chris, It worked! Thanks so much! Weberdev needs to fix it too. Navid

RE: [PHP] Counter Help

2001-02-23 Thread Navid Yar
PHP might take you tomorrow. -Original Message- From: Navid Yar [mailto:[EMAIL PROTECTED]] Sent: Friday, February 23, 2001 10:39 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Counter Help Actually, I couldn't find the article number for that tutorial. I did, however, place a comment

RE: [PHP] books

2001-02-22 Thread Navid Yar
I think Wrox is a very good reference for any language. I have an XSLT reference from Wrox and it has helped me tremendously because it is so comprehensive (includes online reference material). I'm sure the PHP book from Wrox is just as good. Another great book for PHP, especially for beginners,

[PHP] Counter Help

2001-02-22 Thread Navid Yar
Can someone help me with this script? It is an example from weberdev.com. I ran it and it gave me the following error... -- Warning: Use of undefined constant count - assumed 'count' in c:\windows\desktop\localhost\examples\counter\counter1.php on line 27 25 The number 25 is the correct number

RE: [PHP] Counter Help

2001-02-22 Thread Navid Yar
Thanks for the great suggestion Simon, I'll definatley keep that in mind. I'm new to PHP, and the counter thing was "copied" off of Weberdev.com. They forgot to add the single quotes around counter. At least this experience helped me learn something new. Again, I thank you for your help and for

[PHP] Microsoft's new naming convention...

2001-02-03 Thread Ahmad Navid Yar
FYI folks... Microsoft is planning on a new naming convention for it's latest products. They will be naming their Office 10 Suite as Office XP, and Whisler will officially be named Windows XP. They say the "XP" might stand for XML Protocol, which "also happens to be the Worldwide Web

RE: [PHP] Microsoft's new naming convention...

2001-02-03 Thread Navid Yar
, February 03, 2001 10:25 AM To: [EMAIL PROTECTED]; PHP (E-mail) Subject: Re: [PHP] Microsoft's new naming convention... At 05:03 AM 2/3/01 -0600, Ahmad Navid Yar wrote: FYI folks... Microsoft is planning on a new naming convention for it's latest products. The next OS version is supposed

RE: [PHP] Microsoft's new naming convention...

2001-02-03 Thread Navid Yar
LOL, I should have caught that. Check this article out... MSFT 60 13/16 -1 9/16 (2.51%) by Matthew Rothenberg, ZDNet News Is Microsoft's "XP" designation a castle made of sand? Will X mark the spot in this year's platform wars? According to my colleague Mary Jo Foley, Linux and Apple Computer

RE: [PHP] PHP hosting - the final frontier.

2001-02-03 Thread Navid Yar
hen you'll have to deal with it until you decide to find another host. I have one question for you Robert. XML has been in the market for a long time (since 1998), and the recommendations are now set to a true standard. Why do most hosting services not have support for XML based languages yet? Thanks