[PHP] check on pictures

2002-02-28 Thread Martin Kampherbeek
Can someone help me with this problem? Someone fills in my form. One field on the form is galleryurl. Here he types a url with some pictures on it. On this page the are thumbnail with links to bigger pictures. Now I want to check if the pictures are realy on it. And I want to check if there is

[PHP] check for bigger link

2002-03-09 Thread Martin Kampherbeek
I made a script that looks in a URL for jpg's and their links. So the result is: s1.jpg links to b1.jpg s2.jpg links to b2.jpg etc etc But now I would like to check if b1.jpg is bigger then s1.jpg, if not the script must stop. But I can't figure out to do this. My script so far: ?

[PHP] filesize problem

2002-03-14 Thread Martin Kampherbeek
Hi, I talked to you on ICQ and told you to send an email with my PHP problem. So here it is. Someone is submitting an URL. The problem is that someone is submitting the URL per form. So it is allways something like http:\\www.mydomain.com\1.htm In that case it is difficult to tell where to

Re: [PHP] check on pictures

2002-03-16 Thread Martin Kampherbeek
Thanks for repying. Yes, the page has pictures. But all jpg pictures must link to another jpg pictures. A gif is alowed to link to a html file. The minium numers of jpg pictures must be 12. Cheers, Martin. - Original Message - From: Boaz Yahav [EMAIL PROTECTED] To: Martin Kampherbeek

[PHP] Search for words

2002-03-18 Thread Martin Kampherbeek
Hi, Someone submits an URL to me. Now I want a script that checks for some words in the file right after submitting. When the word is in the file it must stop. For example the words: house and school.

[PHP] Check for text

2002-03-28 Thread Martin Kampherbeek
Someone submits an url through a form. Now I want to check in a script to see if there is some tekst in it. For Example: Someone submits http://www.mydomain.com/test.htm In this htm file I want to check the text hello.

[PHP] auto submit

2002-04-03 Thread Martin Kampherbeek
Is the folowing possible to do? I fill in a form and press submit. Then I read a record from a database. With this data it submits to the read submits url. After 10 seconds, it reads the next record and submits that data. etc etc So I don't have to push submit each time I want to submit. After

[PHP] Insert with one button

2002-06-24 Thread Martin Kampherbeek
Hello, I'm making a predictions competitie for soccer. Now I've got a form with the matches for that weekend and some selectboxes with 1 to 9 for the goals. At the bottum of the form is a Submit button. What I want is to insert all the scores in my table predictions with just that one button.

[PHP] Form/insert problem

2002-07-14 Thread Martin Kampherbeek
Below, is the code of a form to predict some matches. What I want is to submit this with with one button so it inserts the macthes in the database. One match is one record. The problem is that I don't know what to do now. Can someone help me with this form and the insert file

Re: [PHP] Get current date and time

2001-09-29 Thread Martin Kampherbeek
These worked. Thanks - Original Message - From: Kurt Lieber [EMAIL PROTECTED] To: 'Martin Kampherbeek' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, September 30, 2001 2:34 AM Subject: RE: [PHP] Get current date and time How about one of the mirrors closer to you: http

[PHP] Remote image

2001-12-11 Thread Martin Kampherbeek
Hi, I have a problem with a remote image. I hope someone can help me. People can post their link of their webpage at my site. I check if the file excists, fopen(). After that I scan the page for links. And the links for images. Then I would like to see the sizes of all those images. The

[PHP] Problem with updating

2001-08-15 Thread Martin Kampherbeek
Hello, I have created a predictionscompetition and some code counts te total score of a match of a person. On the screen it workes, but in de database it goes wrong. Each person gets the total of the last person. There must be something wrong with the update statement. I hope someone can help

[PHP] Count total

2001-08-19 Thread Martin Kampherbeek
Hi, Who can help me with the following problem? I have the tables score and totalscore. Score: id userid name score Totalscore: userid name totalscore In the table score one user can have mutiple scores. But in totalscore the userid is unique. Now I want to count all the score's of a user en

[PHP] UPDATE problem

2001-08-20 Thread Martin Kampherbeek
Hello, I have created a predictionscompetition and some code counts te total score of a match of a person. On the screen it workes, but in de database it goes wrong. Each person gets the total of the last person. There must be something wrong with the update statement. I hope someone can help

[PHP] numrows

2001-08-23 Thread Martin Kampherbeek
What's wrong with this? I get the error: Warning: Supplied argument is not a valid MySQL result resource in /home/sites/site49/web/vragen/vragen.php on line 42 $query = SELECT * FROM question WHERE answer'1' AND id250 ORDER BY id DESC; $result = MYSQL_QUERY($query); $number =

[PHP] Re: numrows

2001-08-23 Thread Martin Kampherbeek
This is the error I get. MySQL Query Failed. Error 1030: Got error -1 from table handler Message-ID: [EMAIL PROTECTED] To: [EMAIL PROTECTED] From: Johannes Janson [EMAIL PROTECTED] Date: Thu, 23 Aug 2001 12:40:21 +0200 Subject: Re: numrows Hi, $query = SELECT * FROM question WHERE answer'1'

Re: [PHP] numrows

2001-08-23 Thread Martin Kampherbeek
This is the error I get. I tested in MYSQLadmin and there it works. I think there is something with numrows. MySQL Query Failed. Error 1030: Got error -1 from table handler Message-ID: [EMAIL PROTECTED] Date: Thu, 23 Aug 2001 10:11:17 -0700 (PDT) From: ERISEN, Mehmet Kamil [EMAIL PROTECTED]

[PHP] Error

2001-08-25 Thread Martin Kampherbeek
I still get this error. Can someone help me to solve this? MySQL Query Failed. Error 1030: Got error -1 from table handler $query = SELECT * FROM question WHERE answer'1' AND id250 ORDER BY id; $result = mysql_query($query) or die('MySQL Query Failed. Error '.mysql_errno().': '.mysql_error());

Re: [PHP] Error

2001-08-25 Thread Martin Kampherbeek
This is what I get: allach.question repair error The handler for the table doesn't support check/repair - Original Message - From: Don Read [EMAIL PROTECTED] To: Martin Kampherbeek [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, August 25, 2001 9:32 AM Subject: RE: [PHP