[PHP] C Bindings?

2008-07-09 Thread Henri Cook
Hi there, I want to make a set of PHP bindings for the libvirt(.org) C API. Can anyone point me to how tos, information or software that would help me along the way? Thanks, Henri -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] C Bindings?

2008-07-09 Thread Henri Cook
Hi there, I want to make a set of PHP bindings for the libvirt(.org) C API. Can anyone point me to how tos, information or software that would help me along the way? Thanks, Henri -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Question about the date

2004-11-03 Thread Henri Marc
Hello, I have a question about the date. I have a script that compose an e-mail and send it. No problem until now, but I also need that the script can write the date of the next week. Let say we are Wednesday. The script must write the date of Wednesday 3rd in the e-mail. But from 5pm today, it

[PHP] How does work shorten url services?

2004-09-18 Thread Henri Marc
Hello, I know that some web sites offer a service to shorten long url. It is very useful when your site is hosted by your Internet provider for example, and that you have a long url. Or when you want to send it in an e-mail. tinyurl.com does that for example. The principle is that you enter your

Re: [PHP] How does work shorten url services?

2004-09-18 Thread Henri Marc
Hello, Those sites (because there are more) just put the urls in a database, and assign an ID to each one. Then, a program (that can be made in any language) queries the database for the given ID, and get the long URL. Then it redirects to that URL and that's all. Ok, it is like I

RE: [PHP] How to get a unique series of numbers?

2004-08-23 Thread Henri Marc
Hello, I would take each number and place it in an array. Then for each Thank you very much. It has been really very helpful for me. Vous manquez d’espace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur

[PHP] How to get a unique series of numbers?

2004-08-20 Thread Henri Marc
Hello, I want to generate a few numbers and those numbers must not be generated two times. For example the user chooses to have two series of 5 numbers. then I have to generate (with MT_RAND) two series of 5 numbers. No problem for the first, then the second must be different from the first. I

[PHP] Image and variable

2004-08-10 Thread Henri Marc
Hello, I would like to use a variable instead of an image file name in a html page with this instruction: ?php echo 'img src=$myimage'; ? I tried but the image doesn't show up. Is it impossible or do I do something wrong? My goal is to have a random image print in the page, that's why I want to

Re: [PHP] Re: Image and variable

2004-08-10 Thread Henri Marc
Hello, Variables in single-quoted strings are not evaluated. Either user double quotes or concatination: Thank you very much all for your help, specially Kevin Waterson for his complete program. It was simple, I always make some mistakes with those quotes :-( Another problem still related to

Re: [PHP] Another problem with grids and checkboxes

2004-08-03 Thread Henri Marc
Hello, td style=vertical-align: top;1input name=grid[1][1] value=1 type=checkboxbr /td [snip] td style=vertical-align: top;1input name=grid[2][1] value=1 type=checkboxbr /td Is there a reason you're sending a 1, 2 or 3 value with the checkboxes? Well,

[PHP] Another problem with grids and checkboxes

2004-07-31 Thread Henri Marc
Hello, I have another problem with my program. Again! Here it is: I have some grids. To make it simple, let's say I have two grids like this: td style=vertical-align: top;1input name=grid[1][1] value=1 type=checkboxbr /td td style=vertical-align: top;2input name=grid[1][2] value=2

[PHP] Replace a button by an image

2004-07-30 Thread Henri Marc
Hello, Is it possible to replace a button by an image with PHP? Thanks! Dave Vous manquez d’espace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/ Le nouveau Yahoo! Messenger

[PHP] Question about for

2004-07-25 Thread Henri Marc
Hello, I woudlike to use a loop: for ($i=1;$i11;$i++) But instead of incrementing with 1, I would like to increment by 2. So $i would be 1,3,5,7,9. I tried to find the answer may be with step but couldn't find anything. Thank you for your help. Dave Vous

Re: [PHP] Problem of a beginner with Array

2004-07-21 Thread Henri Marc
Hello, Thank you very much for all the people who replied me so fast. Unfortunately I still have a problem with that part. Matt M. [EMAIL PROTECTED] wrote: Now, I want to know which numbers have been checked by the player. I have a : input name=Grid1 type=checkbox for the first grid. Grid2

Re: [PHP] Problem of a beginner with Array

2004-07-21 Thread Henri Marc
Hello Torsten, try this: input name=Grid1[1] typecheckbox file://1st grid, 1st checkbox input name=Grid1[2] typecheckbox file://1st grid, 2nd checkbox... Seems I can't do another way than this. Not possible to do just Grid1[]. After submit you will receive $_POST['Grid1'] as an ARRAY

[PHP] Problem of a beginner with Array

2004-07-20 Thread Henri Marc
Hello, I'm just starting with PHP and I have a problem. This is certainly very easy for you but for me, it's tough. I want to make a lottery site (just as an exercise), so I made a page with 6 grids of 50 numbers each (check boxes). Now, I want to know which numbers have been checked by

[PHP] SQL Help

2002-04-16 Thread De Necker Henri
Hi There. I want to ceate a query that deletes the duplicates for a certain attributes.The table consits of a company id and a course. If a company id and a certain course appears more than once it must be deleted Thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] fatal error: out of dynamic memory in yy_create_buffer() in unknown on line 0

2001-12-20 Thread Henri
: www.acteam-langues.com/societeConnect.php4 Thanks Henri -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Help with directory !

2001-11-30 Thread De Necker Henri
Hi there.Im cant just get to access a file in a directory form my localhost dir. The file : $loc = ./doos.txt i can access, but the following i can't : $loc = .\files\doos.txt What am i doibg wrong? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: [PHP] Re: Help with directory !

2001-11-30 Thread De Necker Henri
To: [EMAIL PROTECTED] Subject: [PHP] Re: Help with directory ! The first one looks like a *nix directory and the second one looks like a windows direcrory. Perhaps it will work if you switch your slashes around. Fred De Necker Henri [EMAIL PROTECTED] wrote in message

RE: [PHP] HTTP_POST_VARS truncated

2001-11-30 Thread De Necker Henri
Thanks Jason Jani!Both ur ways work! $loc = ..\files\poese.txt $loc = ..\\files\\poese.txt But another question that comes to mind is that why must i include the '..\' to move down to a sub-directory? I thought '..\' moves up a directory tree! This also works both ways : $loc =

[PHP] Re: Help with directory !

2001-11-30 Thread De Necker Henri
Thanks Jason Jani!Both ur ways work! $loc = ..\files\poese.txt $loc = ..\\files\\poese.txt But another question that comes to mind is that why must i include the '..\' to move down to a sub-directory? I thought '..\' moves up a directory tree! This also works both ways : $loc =

RE: [PHP] Student need help

2001-11-30 Thread De Necker Henri
Why does Russia have so much beautiful women? -Original Message- From: Valentin V. Petruchek [mailto:[EMAIL PROTECTED]] Sent: 30 November 2001 12:45 To: [EMAIL PROTECTED] Subject: [PHP] Student need help Hello everyone! sorry, but thing i'm asking for is interesting for Ru.Net

[PHP] Hoekom is jy so still??

2001-11-30 Thread De Necker Henri
Jy word net ryker om op jou ass te sit.n Rand kos nou R14,85. Wat se jy daar van? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Need help with a stupid problem!

2001-11-29 Thread De Necker Henri
Hi there! I want to do the following piece SQL query : $search .= ba = '.$b.'; I want it to be like the following : ba = 'someting' But this is what i get : ba = \'someting\' What am i doing wrong? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

RE: [PHP] Re: Need help with a stupid problem!

2001-11-29 Thread De Necker Henri
.= ba = '$b'; If above doesn't satify the needs, maybe you are mysql_escape_string(); it? -- Julio Nobrega No matter where you go, this. De Necker Henri [EMAIL PROTECTED] wrote in message 3A8ED7A62794D311AA7700508B6164EC08DCA3E5@SCPTS01">news:3A8ED7A62794D311AA7700508B6164EC08DCA3E5

[PHP] Infomation wanted

2001-11-26 Thread De Necker Henri
I want to know where can i find a script that will allow a user to login every certain time period! I just cant get it right! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP] MySQL query problem!

2001-11-22 Thread De Necker Henri
I have the following query $query = INSERT INTO acl ( username, password ) VALUES ( 'henri', ENCRYPT('diesel','henri') ); This is the error i get : Column 'password' cannot be null What is wrong with my query? -- PHP General Mailing List (http://www.php.net

RE: [PHP] MySQL query problem!

2001-11-22 Thread De Necker Henri
On waht systems does encrypt() work on.In my Mysql client my query results are null,so i dont have encrypt on my system! -Original Message- From: David Robley [mailto:[EMAIL PROTECTED]] Sent: 23 November 2001 08:24 To: De Necker Henri; PHP-General (E-mail) Subject: Re: [PHP] MySQL query

RE: [PHP] mysql export to excel

2001-11-21 Thread De Necker Henri
What is the problem?I know it works! -Original Message- From: Stanley [mailto:[EMAIL PROTECTED]] Sent: 21 November 2001 12:34 To: [EMAIL PROTECTED] Subject: [PHP] mysql export to excel Hi, Can anyone tried to export mysql database to excel spreedsheet? pls advise. urgent! Thanks!

[PHP] Help with PHP_AUTH_USER needed.

2001-11-20 Thread De Necker Henri
Hi there!I want to know how to reload the following script of mine by using a cookie.If the cookie expires the user must lgin again.I can get it right to reload the authentication script This is my code im using in my secure pages : require_once(inc/db.inc); if(!isset($Cookie)){

[PHP] FW: Array problem

2001-11-19 Thread De Necker Henri
Hi there.I just want to know if the following code is suppose to work or not? I thing it must work! Is there something wrong with my while() funtion or must i use other functions? $query = SELECT co_id FROM employee ORDER BY co_id; db_connect($query); while($row=db_range()){

[PHP] Array problrem!

2001-11-14 Thread De Necker Henri
Hi there. I have an array like this : 1.2 , 0.3 , 0.5 , 1.6 , 0.3 I output like this: while($data_array[$j]){ echo br$data[$j] ; $j++ ; } My output is like this : 1 , 0 , 0 , 1 , 0 The values in the db are floats and are read correctly ! Why is the values not there.Is there a

[PHP] Form's : making me sick!

2001-11-13 Thread De Necker Henri
I just want to know how to make a form inside a form get to respond or dont make any browser errors? It looks someting like this : form input type = text input type = text form select onchange = this.form.submit(); //This must change the next select

RE: [PHP] Form's : making me sick!

2001-11-13 Thread De Necker Henri
[mailto:[EMAIL PROTECTED]] Sent: 13 November 2001 15:19 To: PACKER, Steffan Cc: 'De Necker Henri'; PHP-General (E-mail) Subject: RE: [PHP] Form's : making me sick! Couldn't you also make your initial page a php page? So then you would have onChange as Steffan says but then pass the values

[PHP] Functions to big

2001-11-09 Thread De Necker Henri
Hi there ! I just want to know what is the max size that a function can be before it becomes out of range for the function that follows? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP] Functions to big

2001-11-09 Thread De Necker Henri
Hi there ! I just want to know what is the max size that a function can be before it becomes out of range for the function that follows? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] Function not found

2001-10-29 Thread De Necker Henri
Where can i find the code for the array_search() function in php4.I do have php4 but the function isnt found.The in_array() function is found. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] Array's

2001-10-28 Thread De Necker Henri
Please help! Im have been trying to get a multi-dimentional array for so time now and dont seems to get a right! I have the following : while($row=db_range()){ list($co_id,$surname,$init,$ba) = $row; $acid[$i] = array($a=array($co_id),

[PHP] RE: Array

2001-10-28 Thread De Necker Henri
Now i did the following : My output is only null or blank values!,but my data is there! while($row=db_range()){ list($co_id,$surname,$init,$ba) = $row; echo $co_id $surnamebr; # This works perfect! $values[$i]['id'] = $co_id; $values[$i]['surname'] = $surname;

[PHP] RE: Help with Query

2001-10-22 Thread De Necker Henri
Hi there. I have the following question for u. I want to join two tables but it must be displayed in the a specific format. The data of the tables are as follow : Table employee : idsurname initialsba 1 PoepH ER 2 Snot