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 wOOdy-Soft 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 Qwark

  1. Qwark

    Cookie problem

    I've a problem with JavaScript and cookies. I have a form with some user data. It's not possible to write more than 18 or 19 form.elements[.....].value into a cookie. I have read that the maximum size of a cookie is 4 kb, My cookie is only 2 kb. This is my script, I found it on Htmlgoodies.com...
  2. Qwark

    Which free compiler

    Hello, I want to make a Windows program in C++. I've seen a couple of free compilers on the internet Cygwin, C++Builder compiler and MingW. Which is the best. Or is there an other better compiler. Please let me know. Thanks, Qwark
  3. Qwark

    passing variables from form to php

    You made a from like this: <FORM ACTION=&quot;post.php&quot; METHOD=&quot;POST&quot;> <INPUT type=&quot;hidden&quot; name=&quot;user&quot; value=&quot;somebody&quot;> <INPUT type=&quot;hidden&quot; name=&quot;redirect&quot; value=&quot;http://www.adres.com&quot;> <INPUT type=&quot;text&quot...
  4. Qwark

    Require problem

    Thank you all for the help. I think I can solve the problem now.
  5. Qwark

    Require problem

    Before i have post this message I have also try include, include_once en require_once. Of course I have try to put an echo in in File2, and... that is working correctly. That's why i post this message. But thanks, for your advise. I am doing something wrong but I don't know what!!! But thanks...
  6. Qwark

    Using PHP to copy a file

    You can use the php commant copy copy (string source, string dest). In your FORM you can can use a Text area like this: <INPUT type=&quot;text&quot; name=&quot;filenumber&quot;> where the user types the file number. or you use another HTML tag like this: <SELECT name=&quot;filenumber&quot;>...
  7. Qwark

    Require problem

    I have two files - File1 menu.php: <?php require(&quot;http://www.boerenpagina.nl/standaard/menulink.php&quot;); ?> and some html and php... - File2 menulink.php <?php echo(&quot;BlaBla&quot;); $menulink1 = &quot;index.php?pagina=1&quot;; $menulink2 = &quot;index.php?pagina=2&quot...
  8. Qwark

    Can i use chmod in php

    I would change the permissions (chmod) of a directory (in Linux) via the internet with a php-script. Is it possible to use that chmod command in a php-script. If the answer is yes tell me how. Thank you, Qwark
  9. Qwark

    I want to upload files but get an Error

    I'll hope your are right with method / methode. This is the upload.php file. As I sad by first viewing this page i'll get an know error. But that is not a problem. Sorry but i am very new in PHP. But I know it is possible to post to the same page, because I 've done that before. I have this code...
  10. Qwark

    I want to upload files but get an Error

    I have made the next code, the first time i run the script i'll get an error (I know, doesn't matter at this time). When i have choose a file on my harddisk (I use Windows 95) And click on the button upload i get the next error: Warning: Unable to open 'C:\\files\\0013-0007-1.jpg' for reading...
  11. Qwark

    Protect my scripts

    Thanks Chris, I think your tip is a smart one. Beginners can use that tip very easy.
  12. Qwark

    AUTO_INCREMENT question

    vic, I have solve my problem with PHP and a While command. The Id numbers in the database have there auto number id. But a the user of my management program are thinking that the numbers are 1,2,3 etc. Because i use that php command with an counter. That's not the right way because...
  13. Qwark

    Protect my scripts

    Hello PHP Guru, I have made some scripts for manage a database. But not everybode is permissed to manage the database. I must protect the script all files or one directory with a central password. Is this possible with PHP or must i use Perl. I hope PHP can handle the problem. Thanks, Qwark.
  14. Qwark

    AUTO_INCREMENT question

    Thanks Vic, A have already solve the problem in an other way. But maybe your opinion is better. But now another question. When I have over a tousandmiljon times add and delete records in my table my id num is maybe 999999999 isn't that to much. Is there a maximum or does the mysql command...
  15. Qwark

    AUTO_INCREMENT question

    Hello, I have made a mysql database: CREATE table links ( id INT NOT NULL AUTO_INCREMENT, adres VARCHAR(60), PRIMARY KEY(id)); When i put a new record in de database it get a number automaticly. (1,2,3 ...) But when i remove 2 the records are not reorganize automaticly. Is that possible, maybe...

Part and Inventory Search

Back
Top