Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. lefteyecc

    AddressBook

    Hey everyone. I was wondering if anybody has or knows any scripts or classes or methods that can help with importing/exporting address book formats. I have found this if anyone knows about it or doesn't then now they do...
  2. lefteyecc

    require function with php file with $_GET arguemtns

    Is it possible to do something like t this? require("page.php?id=1"); ?
  3. lefteyecc

    Coding Conventions/Styles/Practices

    Ok I have been looking into templates recently. I understand the benefits but honestly for msall projects what would be the nemefits?. I honestly consider the html generated by php way to be the cleanest and fastest. My scripts are easy to understand...to me at least...and get the job done...
  4. lefteyecc

    Redirection limits and problem getting validation code to work.

    Sorry for the "bump" but can anyone help me out with this? I have no idea what's going on here.
  5. lefteyecc

    Coding Conventions/Styles/Practices

    Cool we have another way of generating pages. Does anyone know of a study or proll or something liek that that benchmarks the performance of PHP pages depending on the codeing style used?
  6. lefteyecc

    Coding Conventions/Styles/Practices

    Cool guys that's good to know. Considering I have a C+ background I fint it easier for HTML to be uotputted by PHP and yes it does look cleaner. It also makes it easier to debug your code. Well here's to hoping this information nenefits someone int he future. Thanks for the responses guys.
  7. lefteyecc

    Coding Conventions/Styles/Practices

    I have a question for you guys. This is a PHP forum so I figure most of you know the answer to this or the recommendation to his. Ok so getting tot he point I wanna know which way of programming php is better. Is it better to use php to generate your pages like using printf() and those...
  8. lefteyecc

    Redirection limits and problem getting validation code to work.

    Ok this is begining to give me gray hairs. WTF. I changed around the login script alittle bit and now the $_SESSION array is not being initialized. Coincidentally if I session_start at the begining of the page a session gets created but if the information is validated (username/passowrd) it...
  9. lefteyecc

    Redirection limits and problem getting validation code to work.

    I fixed it now guys. I like kenrbnsn said had to put session_start() at the top of ever script. I ddin't know that but not it sort of works. My main problem now is getting the variables to be authenticated properly.
  10. lefteyecc

    Redirection limits and problem getting validation code to work.

    No the page is correct. I think there is a problem with my php setup. Because I know that when I set a session variable it should be global right. If so then why when I try to check the value of that variable it doesn't work. Grr this problem is annoying because I know my code it proper.
  11. lefteyecc

    Redirection limits and problem getting validation code to work.

    Hey guys I am having a problem with new code that I think should work. I poseted a thread a few days ago stating that I couldn't get some stuff to work but I figured it out. Now I have the code "working" but I still have a problem. When I use firefox and everything validates I get a redirecton...
  12. lefteyecc

    Authentication using MYSQL

    wait a minute I think I figured it out. If I send a header to the web page for authentication does that mean that I need to use a file and not a database? If so then I'll just use a regular file for authentication.
  13. lefteyecc

    Authentication using MYSQL

    PHP is compiled as a module for apache. I know because the php I have installed is mod_php. Also when I echo out the variable values using the PHP_AUTH_* variables I see their values. How ever I have a feeling something is not going through to the sql server but I have no idea how to be sure...
  14. lefteyecc

    Authentication using MYSQL

    Hey guys it's me again. Okay so far I've been helped out prety good by this site and it's users. But now I have a more advanced problem dealing with authentication. My problem is that my authentication script doesn't work. Can anyone help me out with it. Thanks <?php require("common.php")...
  15. lefteyecc

    Problem with MYSQL searching functions.

    Ok I found a resolution to my problem. I simply user an array of queries and then extracted the results from each array. I works suprisignly well now. Thanks for the help guys. P.S If anyone wants to see the solution just ask and I'll post it. Just in case anyone else is having the same or...
  16. lefteyecc

    Convert from UNIX_TIMESTAMP to formatted date

    If you are trying to formt a date made with php and store it in a mysql timestap then retrieve it. I think that that might be a problem. Because I read that mysql timestamps are incompatible with php timestamps. I could be wrong tho.
  17. lefteyecc

    Problem with MYSQL searching functions.

    Oh that I understand...but I wanna learn about unions in mysql so I used that. Hmm I am still ont he fence as to the best way to search for results. Currently I get about 1000 or more results when using the array query.
  18. lefteyecc

    Problem with MYSQL searching functions.

    OK hey guys. It's me again. I have a problem with my mysql search queries. Now I am doing this on my own with no outside helo other than a crappy book I'm reading. Now I know that I can do fulltext searching but I was wiondering if there was another way to get results from my tables. Also is...
  19. lefteyecc

    Problem with seemingly clean code

    Ha success. Thanks guys for all your help I learned a few things that'd very much so be helpful later on. I made the edits as you guys suggested and I also had to make one edit on my own. The linke that tests the size of the array was wrong. I didn't know that javascript doesn't support sizeof...
  20. lefteyecc

    Problem with seemingly clean code

    OK Here is the HTML that I am using. printf("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\"/> <html> <head> <link rel=\"stylesheet\" type=\"text/css\" href=\"admin/css/home-server-css.css\"/> <title>%s</title>...

Part and Inventory Search

Back
Top