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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by herman75

  1. herman75

    which is the correct directory path?

    Includepath does not work the way you describe it. Why do you want users not to be able to access your php files anyway? If they are written properly they can't do much harm. I can think of several ways of making what you want happen, but I fear all of them include changing the authentication...
  2. herman75

    Picture manipulation

    PHP can't do image manipulation nagively, but there are several plugins that enable it to do quite a lot. One of them is GD, for which the image_* series function in php exist. Read the php manual for information about these. I'm not sure you can do all those things you want with it though...
  3. herman75

    INSERT INTO mysql - text works, strings do not???

    You could try Jeffs code. For testing it is nice, although I wouldn't want to echo my mysql errors on a live site. Too easy for hackers to figure out how my site works then. I didn't see anything wrong with your code either though. Did you try to echo the query and copy-paste it into phpMyAdmin...
  4. herman75

    Differnce between POST and SESSION variables

    $_POST and $_GET can contain submitted form variables. They are set on the client (i.e. the browser) and submitted to the user. Although you could use them to pass information between pages, they are inherently insecure, as the user can alter/modify them, so their data can not be relied on...
  5. herman75

    autocomplete drop down list

    Sure a well performing javascript solution could always be practical.
  6. herman75

    Permission denied

    Seems you don't have permission to fopen the file. setting chmod after fopen won't help offcourse, if that is allowed you should do it before the fopen. Why do you fopen that file twice anyway?
  7. herman75

    Retrieving Post data

    I'm not sure, but you could try $GLOBALS["HTTP_RAW_POST_DATA"]
  8. herman75

    PHP Mailer will not find Exchange Server

    Is the smtp server responding to external requests? Have you tried to Telnet to the server? I had some problems connecting to by smtp server and by telnetting to the server and reading the responses and such I figured out what went wrong in my case.
  9. herman75

    PHP Mailer will not find Exchange Server

    from the phpmailer documentation Seems to me you are missing : between the URL and the port
  10. herman75

    Variables being ignored?

    So have you echoed the query and tested it? Obviously something must be wrong with $row_myQuery2 Maybe you can display the content of that. var_dump($row_myQuery2) Maybe that will point you to a solution.
  11. herman75

    Can you use PHP's Image Functions to...

    Whatabout thumb('741914010265', 96, 130);
  12. herman75

    Help with includes required

    Including over internet (http) only works when the fopen wrappers are enabled in php (see http://nl2.php.net/manual/en/function.include.php), and like DRJ478 says you should not use http unless really nessecary. Btw if including files you don't pass those files parameters in the url like you...
  13. herman75

    Undefined offset notice

    If this works on the paypal server without any error-messages that means they suppress the 'notices', as notices are non-critical errormessages. You could suppress notices yourself, have a look at http://www.php.net/manual/en/function.error-reporting.php However it is better to actually check...
  14. herman75

    Variables being ignored?

    Well I can't look into your database. Maybe there aren't any records? If echo the query and paste it in phpMyAdmin does that generate results?
  15. herman75

    Mail function's first parameter vs. header for 'To:'.

    I had the same issue you describe a while ago, while moving a page from one server to another. I was allready using a library allready btw, and it didn't cause nor solve my problem. Seems to me it depends on the mailserver used wether a mail with both & a To & a header with To gets send to 2...

Part and Inventory Search

Back
Top