Re: [PHP-DB] Search problems... :(

2003-07-13 Thread Marco
I have correct case sensitive error but it still don't work: RESULT CODE: $keys = explode (" ", $_POST ["chiave"]); $query = ""; foreach ($keys as $parola){ $parola = trim($parola); if ($parola != "") $query .= "titolo LIKE '%$parola%' OR testo LIKE '%$parola%' OR autore LIKE '%$parola%' OR ";

Re: [PHP-DB] Search problems... :(

2003-07-13 Thread Marco
i've correct the problem the script was right thx -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] image on Table

2005-09-15 Thread Marco
Hi. how could i put an image to a table (mysql) and show whenever i saw the record, for example photo of a customer. I am putting the images on a folder, and only put the image name on database. i want to store image and show after. Thank's in advance MB -- PHP Database Mailing List (http

[PHP-DB] PHP MOUNT

2001-02-09 Thread Marco Eyzaguirre
hello everybody, can anyone tellme how i can do a "mount" in a server from php script?, "system(mount * * *)" doesn't work! marco eyzaguirre Lima - Peru

[PHP-DB] PHP MOUNT

2001-02-09 Thread Marco Eyzaguirre
hello everybody, can anyone tellme how i can do a "mount" in a server from php script?, "system(mount * * *)" doesn't work! marco eyzaguirre Lima - Peru -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP-DB] Oracle connection

2001-03-12 Thread Marco Eyzaguirre
> I got a question: > > How can I access an Oracle database located on an Oracle 8i installed in > Windows NT from PHP installed on a Linux box? > > thanx in advance for you answers > > Greetings > > Marco Eyzaguirre > DB Administrator > Ilender Peru S.

php-db@lists.php.net

2002-02-24 Thread Marco Coletta
I have a problem with symbol &. In PHP script I have a variable with a string assigned containing the symbol '&' : $myvariable = 'Smith & Sons'; when I insert the variable in the database : $query="insert into mytable (mycolumn) values (myvalue1='$myvariable');"; $result=mysql_query($query);

php-db@lists.php.net

2002-02-25 Thread Marco Coletta
d3bec00$0b01a8c0@ANDreY... > The problem is that you probably use phpMyAdmin for editing data. > > Regards, > Andrey Hristov > - Original Message - > From: "Marco Coletta" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, Februar

php-db@lists.php.net

2002-02-25 Thread Marco Coletta
010801c1bdd7$576e9dd0$0b01a8c0@ANDreY... > phpMyAdmin has changed & to & and then put it in the DB. > So it is better not to use phpMyAdmin or any toher web based tool for tasks which includes & entering. Not sure for <,> > > Regards, > Andrey Hristov >

[PHP-DB] Upgrading from php -4.0.3

2002-02-26 Thread Marco Coletta
I have a linux RedHat 7.1 system with : php 4.0.3 apache 1.3.20 I would like to upgrade to newer version of php, ho can supply detailed instructions. Thanks. Marco Coletta -- -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Fill select boxes with dependent data from a database. How?

2002-03-18 Thread Marco Viehl
quot;a","b" and "c" in selectbox 2. Was that clear? I hope so. Does anybody has a solution for this situation? Or maybe sample code? Thank you in advance for any help. Kind regards and greetings from Cologne/Germany, Marco. [EMAIL PROTECTED] -- PHP Database Mailing L

[PHP-DB] MYSQL Socket error :\

2002-06-21 Thread Marco Lanini
Hi sorry for my english but i'm italian. I have a server who run with WIN XP HOME Abyss Web Server (Freeware) www.aprelium.com MySql 4.0.1-alpha-nt PHP 4.2.1 when i use mysql_connect($host,$user,$pass) or die(mysql_error()); function he write: Can't create TCP/IP socket (10106) i have searc

Re: [PHP-DB] MYSQL Socket error :\

2002-06-21 Thread Marco Lanini
make sure that windows XP > isn't preventing the connection. > > For the $host, you may want to either use > 'localhost' or 127.0.0.1 > > Cheers, > Dan > > > > -Original Message- > > From: Marco Lanini [mailto:[EMAIL PROTECTED]] > > S

Re: [PHP-DB] MYSQL Socket error :\

2002-06-22 Thread Marco Lanini
:[EMAIL PROTECTED]... It may prove beneficial to check the event log. More clues may lie in there. If the webserver has any type of error log check that as well. Aaron Weiker > -----Original Message- > From: Marco Lanini [mailto:[EMAIL PROTECTED]] > Sent: Saturday, June 22, 2002 1:10 AM >

Re: [PHP-DB] MYSQL Socket error :\

2002-06-22 Thread Marco Lanini
glish, i'm Italian) :\ "Aaron T. Weiker" <[EMAIL PROTECTED]> ha scritto nel messaggio [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Are you able to connect to the MySQL server using a client? Aaron Weiker -Original Message- From: Marco Lanini [mailto:[EMAIL PROTECT

Re: [PHP-DB] $_POST And $_REQUEST

2002-10-06 Thread Marco Tabini
>$_REQUEST is an associative array consisting of the contents of $_GET, >$_POST, $_COOKIE, and $_FILES Also, they are not function but arrays, as Hatem said. You can usa $_REQUEST as a "catch-all" that provides you with both what was passed to your page through the URL query ($_GET) and what was

RE: [PHP-DB] passing array to next page

2002-10-06 Thread Marco Tabini
Also, if you decide to use serialize() and unserialize() through the post variables (I'd recommend against using it in the query URL because some browsers have a limit as to how much data they can fit into it), you should consider encrypting it in some way or at least appending an encrypted CRC to

Re: [PHP-DB] results of query

2002-10-07 Thread Marco Tabini
echo ''; $a = mysql_fetch_assoc($rs); } echo ''; } else echo 'No results found.'; } You can embellish the resulting HTML code as needed. (Also, please note that I'm doing this from memory... so

Re: [PHP-DB] First record of array not being echoed

2002-10-14 Thread Marco Tabini
It seems to me that the first time you go through the loop, if $record->wave_num is != $prior_wave then you print the wave number but not the person's name--but you already have a record there with a person's name! Try taking out the else statement--if you follow the code from there you should be

Re: [PHP-DB] .htaccess and db authentication

2002-10-14 Thread Marco Tabini
ey do they'll still have to go through your script (you could even add a random token to the URL so that they can't bookmark the files at all.). Marco On Mon, 2002-10-14 at 08:58, Adam Royle wrote: > I was wondering about people's thoughts on file security through php > usi

Re: [PHP-DB] more upload script filename checking

2002-10-14 Thread Marco Tabini
Well, you can use the break statement to exit a loop or code block, but wouldn't you rather want to create a single loop that can handle any number of files? On Mon, 2002-10-14 at 13:54, Michael Knauf/Niles wrote: > > Ok, next question: > > Here's my upload script: > >if ($upfile1=="

Re: [PHP-DB] Birthdays!

2002-10-14 Thread Marco Tabini
How about select * from table where birthday between now() and date_add(now(), interval 15 day); Assuming, of course, you're using MySQL. Cheers, Marco On Mon, 2002-10-14 at 16:20, Steve Vernon wrote: > Hiya, > Just wondering what is the best way to do this please. >

Re: [PHP-DB] Number Conversion

2002-10-18 Thread Marco Tabini
number_format(): http://ca.php.net/manual/en/function.number-format.php On Thu, 2002-10-17 at 14:52, Manoj Japher wrote: > hi, > I would like to format my output. I would like to represent my > integer outputs as 2,000 instead of 2000 which it prints by > default. > > For e.g. I want 200

Re: [PHP-DB] PHP/MySQL and passing url params

2002-10-27 Thread Marco Tabini
What's on line 48? On Sun, 2002-10-27 at 18:43, alex hogan wrote: > Hi All, > > I am new to the list, as a matter of fact this is my first post so if > I'm covering territory that has been already covered please excuse me. > > I am using PHP/MySQL/Dreamweaver MX. I expect the razzing to start

RE: [PHP-DB] PHP/MySQL and passing url params

2002-10-27 Thread Marco Tabini
the rowRsId variable is never defined... that's why PHP is complaining. On Sun, 2002-10-27 at 19:53, alex hogan wrote: > Sorry..., my bad. Too wrapped up in the problem. > > > > Notice: Undefined variable: row_rsID in > D:\web\hogana\demo\login\TMPbl2tw4o24u.php on line 48 > > Warning: Canno

Re: [PHP-DB] mail()

2002-10-31 Thread Marco Tabini
Did you restart the server? Are you sure you modified the right php.ini? On Thu, 2002-10-31 at 14:53, Edward Peloke wrote: > I know this is off topic to the db list but.. > > > I am attempting to use the mail function. I have set the smtp in the > php.ini file to my smtp server but when I run

Re: [PHP-DB] sort by date

2002-11-06 Thread Marco Tabini
Ok, going out on a limb here... have you tried something like select e.id, title, location, address, contact, category, event_time, urllink, descript, min(event_date) from eventTable e inner join dateTable d on e.id = d.id group by e.id ? Marco -- php|architect - The magazine

RE: [PHP-DB] sort by date

2002-11-06 Thread Marco Tabini
My guess? Because we're all professionals at work and trying to solve a specific problem...since we're adults, I guess the learning part should be up to each of us--the information is certainly there even in the answer. :-) Marco -- php|architect - The magazi

Re: [PHP-DB] sort by date

2002-11-06 Thread Marco Tabini
ost frequently asked questions--anybody who's tired of answering that register_globals has been turned off in recent versions raise your hand! :-) Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programm

Re: [PHP-DB] Question

2002-11-06 Thread Marco Tabini
most part, so nothing particularly ominous. Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmer Come visit us at http://www.phparch.com! --- Begin Message --- Hi there everyone, Why are so many attachments

RE: [PHP-DB] MySQL password protection?

2002-11-06 Thread Marco Tabini
Make sure that the encoder you use actually makes string unreadable. Otherwise, you can use a simple trick, like for example XORing the whole string with FF or something similar. -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to P

Re: [PHP-DB] Record IDs: Numeric or String??

2002-11-06 Thread Marco Tabini
Numeric IDs are probably a bit faster--although if properly indexed not by much--plus you can use self-numbering columns with them. Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmer Come visit us at http

Re: [PHP-DB] calling sql script

2002-11-07 Thread Marco Tabini
You can use exec http://ca.php.net/manual/en/ref.exec.php You will probably need to call the mysql shell like so: /path_to_mysql/mysql -u user -p password [-h host] -D database -e \\. filename Marco -- php|architect - The magazine for PHP Professionals The first monthly

Re: [PHP-DB] Argh!!!! Help with something o-f-f-t-o-p-i-c

2002-11-07 Thread Marco Tabini
Can you not filter the checkboxes by name? Just add one more condition to the if statement: if (el.type == 'checkbox' && el.checked && el.name != 'theothercheckbox') etc. Marco -- php|architect - The magazine for PHP Professionals The first m

Re: [PHP-DB] textarea!!

2002-11-08 Thread Marco Tabini
You need to use nl2br http://ca.php.net/manual/en/function.nl2br.php Marco - php|architect -- The Monthly Magazine For PHP Professionals Come visit us on the web at http://www.phparch.com! On Fri, 2002-11-08 at 09:30, Siamak Sadeghianfar wrote: > Hi > I've written a g

Re: [PHP-DB] Order DB through url toggle

2002-11-08 Thread Marco Tabini
Let's see: Last Name This is the general idea. $dir will toggle between 1 and 0. There are more "compact" ways of writing this--but this one should be clearer. Marco - php|architect -- The Monthly Magazine For PHP Professionals Come visit us on the web at http://

Re: [PHP-DB] indexing on existing DB

2002-11-08 Thread Marco Tabini
Except when you have a million records, which may take a few seconds to build. :-) Marco - php|architect -- The Monthly Magazine For PHP Professionals Come visit us on the web at http://www.phparch.com! On Fri, 2002-11-08 at 11:12, Maxim Maletsky wrote: > > Index is alw

RE: [PHP-DB] Order DB through url toggle

2002-11-08 Thread Marco Tabini
I think you might be missing a = sign in your if statement. Marco - php|architect -- The Monthly Magazine For PHP Professionals Come visit us on the web at http://www.phparch.com! On Fri, 2002-11-08 at 11:26, Paul Ihrig wrote: > well i tried that.. > > but it out puts

Re: [PHP-DB] Search and Replace

2002-11-08 Thread Marco Tabini
--Jonathan's solution was faster than mine. Marco - php|architect -- The Monthly Magazine For PHP Professionals Come visit us on the web at http://www.phparch.com! On Fri, 2002-11-08 at 11:50, Ryan Holowaychuk wrote: > I am trying to do a search and replace into a text file that will th

Re: [PHP-DB] Email and HTML Parser Library

2002-11-09 Thread Marco Tabini
Hope this helps. Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmers Check us out on the web at http://www.phparch.com On Sat, 2002-11-09 at 15:57, Peter Beckman wrote: > Hey Folks: > > I admit, I h

Re: [PHP-DB] Extracting column names from a db

2002-11-10 Thread Marco Tabini
ult = mysql_query ( $query ) or die( mysql_error () ); while ($row = mysql_fetch_assoc ($result)) echo $row['Field']; This loops through each row in the result set and prints out the value of the field called "Field", which actually contains the name of the field in the

Re: [PHP-DB] MySql Update.

2002-11-12 Thread Marco Tabini
apts 100% to your case but you can probably fix it up... Marco -- php|architect - The magazine for PHP Professionals The monthly worldwide magazine dedicated to PHP programmers Come visit us at http://www.phparch.com! --- Begin Message --- Making an update query that adapts to t

Re: [PHP-DB] date()

2002-11-13 Thread Marco Tabini
If you don't want to change your SQL statement: echo date ('Y/m/d', strtotime ($myrow['datefield'])); Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmers Come visit us at http://ww

Re: [PHP-DB] how to put all rows into an array

2002-11-13 Thread Marco Tabini
while ($a[] = mysql_fetch_row ($rs)); should work Marco -- php|architect - The magazine for PHP Professionals The monthly worldwide magazine dedicated to PHP programmers Come visit us at http://www.phparch.com! On Wed, 2002-11-13 at 19:27, John A DAVIS wrote: > Is there any

Re: [PHP-DB] Arrays again again

2002-11-13 Thread Marco Tabini
Perhaps I don't understand what it is you're looking for, but... $a = array(); for ($i = 0; $i < $maxvalue; $i++) { $a[$year] = $value; } but this is almost too simple, which probably just means I didn't quite understand your question. Marco -- p

Re: [PHP-DB] storing(/retrieving) HTML from textbox fields

2002-11-14 Thread Marco Tabini
Hi Gavin, Have you tried escaping your input? Take a look at the following: http://ca.php.net/manual/en/function.mysql-real-escape-string.php It should help you take care of the problem. Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide

Re: [PHP-DB] Query Executes in MySQL Command Line, Not From PHP.

2002-11-15 Thread Marco Tabini
l_error()); after the offending line and see what PHP tells you. Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmers Come visit us at http://www.phparch.com! --- Begin Message --- I'm having pro

RE: [PHP-DB] Query Executes in MySQL Command Line, Not From PHP.

2002-11-15 Thread Marco Tabini
Uhm... are you sure it's not working? It's an update statement, maybe the row has already the NULL value before you execute the query? Otherwise, everything seems to be in order... sorry :-) Marco -- php|architect - The magazine for PHP Professionals The first monthly

[PHP-DB] Multiple Odbc Connections

2002-11-18 Thread Marco Poletto
Hi I wolud like to know how to have multipe connections with Access via Odbc. Now if i open two or more connections to database freom the same page i receive the same resource id. I wolud like to have two different resources and work separately. Tnks Marco Poletto -- PHP Database Mailing

Re: [PHP-DB] Select Last row

2002-11-20 Thread Marco Tabini
Can you reverse your sorting order? In that case, the last row now becomes the first--making things much easier and faster! :-) Marco -- php|architect - The magazine for PHP Professionals The monthly worldwide magazine dedicated to PHP programmers Come visit us at http

Re: [PHP-DB] -- table name prefix in result set after join --

2002-11-23 Thread Marco Tabini
It really depends on the DBMS you are using, but you can use aliases as a trick to solve this problem: select a.col1 as a_col1, b.col1 as b_col1 from a join b on a.id=b.id This will return the two columns a_col1 and b_col1 Cheers, Marco -- php|architect - The magazine for PHP

Re: [PHP-DB] Really dumb question... deleting everything but newest100 rows?

2002-11-23 Thread Marco Tabini
If you have a column that gives you the "newness" of each row--I'm assuming a date here: delete from my_table order by date_inserted desc limit 100, -1 This should work... I recommend a db backup first :-) Marco php|architect - The magazine for PHP Profession

Re: [PHP-DB] Really dumb question... deleting everything but newest100 rows?

2002-11-23 Thread Marco Tabini
else wrong (including my query, of course), but this other issue is kind of making it more difficult to figure it out... Marco php|architect - The magazine for PHP Professionals The monthly worldwide magazine dedicated to PHP programmers Check us out on the web at http://www.phparch.c

Re: [PHP-DB] Session questions

2002-11-27 Thread Marco Tabini
to steal a session or (b) two people have signed on with the same username, in which case you can decide who gets the boot. This, too, is not a completely foolproof method (particularly if you don't use SSL), but it's a good starting point. Hope this helps. Cheers, Marco -- --

Re: [PHP-DB] Database Connections

2002-11-29 Thread Marco Tabini
cation and have an instance of MySQL running on each web server, so that all database connections are local and performed through UNIX sockets, which are generally the fastest (assuming you're running UNIX, of course). This may require a bit of data redesign, but it's worked for me

Re: [PHP-DB] Converting Databases

2002-12-01 Thread Marco Tabini
make it quite easy. Hope this helps! Marco -- php|architect - The magazine for PHP Professionals The monthly worldwide magazine dedicated to PHP programmers Come visit us at http://www.phparch.com! On Sun, 2002-12-01 at 08:30, peter wrote: > Hi, > > I am pretty much n

[PHP-DB] displaying duplicate records...

2002-12-04 Thread Marco Alting
I have a database which allows people to upload info and foto's. There's a unique ID field, but some people tend to upload their info more than once (its a contest site). What I'm able to do is to see how may duplicates there are using the following statement: $query="SELECT COUNT(*) as cnt, voorn

[PHP-DB] Re: displaying duplicate records...

2002-12-04 Thread Marco Alting
and email. > > The query you're searching may be like this: > $query="SELECT COUNT(email) as cnt, voornaam,achternaam,leeftijd,ID,email FROM > modellen GROUP BY email HAVING cnt >1"; > > HTH, > Bastian > > > Marco Alting schrieb: > > > I have a da

Re: [PHP-DB] displaying duplicate records...

2002-12-04 Thread Marco Alting
- an unpleasant job. > AFAIK, there is no easy way to do it with MySQL (or SQL in general). You > have to do it procedurally by calling the entire table row by row. > > 2. Procedurally: > validate user data before entry in the DB > > HTH > Ignatius > ___

[PHP-DB] Protecting database password

2001-07-18 Thread Marco Draijer
machine. So I am also interested in Unix-only solutions. Thanks in advance, Marco Draijer -- This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst & Young

[PHP-DB] PHP - Postgres hosting

2001-08-21 Thread Marco Gaiani
Help!, Can any one point out web hosting companies that will give me PHP "and" PostgreSQL support for an affordable price? Marco Gaiani Marco A. Gaiani Editorial Comitee www.entomotropica.org mailto:[EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscri

RE: [PHP-DB] How can you hide database login passwd in your script?

2001-09-05 Thread Marco Draijer
include file is not included... It's simple, cheap, and safe! Success, Marco 05-09-2001 10:22:04, speedboy <[EMAIL PROTECTED]> wrote: >> $0 option: >> Put your user ID and password in a config file, then give only the >> webserver user access to it. Read the confi

[PHP-DB] php and oracle

2001-10-23 Thread Marco Orsuni
.. yes checking for flex... lex checking for yywrap in -ll... no checking lex output file root... ./configure: lex: command not found configure: error: cannot find output from lex; giving up what is lex??? and where I did wrong? thank you very much. Bye Marco R. -- PHP Database Mai

RE: [PHP-DB] Run php page automatically

2001-12-20 Thread Marco Eyzaguirre
do this (crontab file) 35 23 * * * root lynx http://www.host.com/dir/file.php -accept_all_cookies it's work! marco -Mensaje original- De: Harpreet [mailto:[EMAIL PROTECTED]] Enviado el: Jueves, 20 de Diciembre de 2001 02:21 p.m. Para: [EMAIL PROTECTED]; [EMAIL PROTECTED] Asunto:

RE: [PHP-DB] Re: [mysql-support] RE: [PHP-DB] Run php page automatically

2001-12-20 Thread Marco Eyzaguirre
task manager -Mensaje original- De: George Loch [mailto:[EMAIL PROTECTED]] Enviado el: Jueves, 20 de Diciembre de 2001 05:56 PM Para: [EMAIL PROTECTED]; [EMAIL PROTECTED] Asunto: [PHP-DB] Re: [mysql-support] RE: [PHP-DB] Run php page automatically What if you are on win2K? - Origin

Re: [PHP-DB] OpenSSL, PHP and MySQL

2002-12-14 Thread Marco Tabini
I usually build an SSH tunnel whenever I need to connect securely to a remote MySQL server. There's a tutorial on how to do that here: http://www.netsys.com/cgi-bin/display_article.cgi?908 Marco -- php|architect - The Magazine for PHP Professionals The monthly magazine dedi

Re: [PHP-DB] Querying two tables

2002-12-14 Thread Marco Tabini
Also, please don't cross-post. It clutters the mailing lists and it's bad form. Cheers, Marco -- php|architect - The Magazine for PHP Professionals The monthly magazine dedicated to the world of PHP programming Check us out on the web at http://www.phparch.com! ---

RE: [PHP-DB] How to Make a Pop Up Window and show there a mysqltable for help input data?

2002-12-30 Thread Marco Tabini
. We have something similar working on IE, Opera 5+ and Netscape 6+, so it is possible to do it, although it requires a bit of Javascript work. Cheers, Marco -- php|architect - The Monthly Magazine for PHP Professionals Come check us out on the web at http://www.phparch.com

Re: [PHP-DB] mysql wildcard

2003-01-08 Thread Marco Tabini
You probably want something like: select * from offtime where type like '{$type}%' As a side note, are you making sure that $type does not contain any malicious code? Cheers, Marco -- php|architect - The Monthly Magazine for PHP Professionals Come check us out on

Re: [PHP-DB] md5 question!

2003-06-24 Thread Marco Tabini
Hi Jerry-- No, md5 is a one-way hash. That's why it's so safe--because if someone steals the information he still can't tell what the passwords are. You may want to reset the passwords upon your users' request and send it to them via e-mail instead. Cheers, Marco --

Re: [PHP-DB] md5 question!

2003-06-24 Thread Marco Tabini
from it. md5 works on a similar basis, although a bit (but not that much) more complicated. So you see, it's mathematically impossible to retrieve the original password starting from the hash... which is a Good Thing(tm) :-) Marco -- php|architect -- The Magazine for PHP Professionals Co

Re: [PHP-DB] md5 question!

2003-06-24 Thread Marco Tabini
On Tue, 2003-06-24 at 09:36, JeRRy wrote: > Hi, > > Hmmm okay... So if the passowrd was. > [snip] There are ways to avoid this. Typically, you can add a random token (or a salt) to the password before you calculate its checksum. This way, two users with the same password will have two different

Re: [PHP-DB] md5 question!

2003-06-24 Thread Marco Tabini
d5 being broken, although it's been claimed that it is breakable. I'd love to see the references they have sent you! Cheers, Marco > > Thanks everyone for your help/feedback/ideas and code > on this subject, it's been overwhelming. Very much > appreciated. > > Je

RE: [PHP-DB] md5 question!

2003-06-24 Thread Marco Tabini
Sure, but only the first eight characters of the password are actually used to make the hash (IIRC). Marco On Tue, 2003-06-24 at 10:15, Hutchins, Richard wrote: > I already admitted that this stuff was mostly over my head. However, I > started messing around with it a bit and would like t

Re: [PHP-DB] checking a string for numbers

2003-06-26 Thread Marco Tabini
On Thu, 2003-06-26 at 08:09, CPT John W. Holmes wrote: > if(preg_match('/[0-9]/',$myVar)) Same thing, fewer characters: if (preg_match('/\d/', $myVar)) Marco -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] No MySQL Support in PHP5 - Uh oh!

2003-06-29 Thread Marco Tabini
it's easier for me to reference my own site than someone else's): http://blogs.phparch.com/mt/archives/14.html http://blogs.phparch.com/mt/archives/19.html http://blogs.phparch.com/mt/archives/23.html These also include some comments directly from MySQL on this whole thing.

Re: [PHP-DB] No MySQL Support in PHP5 - Uh oh!

2003-06-29 Thread Marco Tabini
Sorry then, the library. The purpose was not to confuse, but, of course, to inform. Marco On Sun, 2003-06-29 at 21:39, Rasmus Lerdorf wrote: > On Sun, 29 Jun 2003, Marco Tabini wrote: > > The MySQL extension has been debundled because MySQL has changed its > > licensing policy

Re: [PHP-DB] No MySQL Support in PHP5 - Uh oh!

2003-07-04 Thread Marco Tabini
Try in the current snapshot at http://snaps.php.net (also, more info on my blog). Cheers, Marco Tabini http://blogs.phparch.com On Fri, 2003-07-04 at 13:01, Adam Lundrigan wrote: > that doesn't seem to workit tells me that the libmysql.dll file is not a > PHP module. Where

[PHP-DB] Error notice

2003-07-12 Thread Marco Mastrorilli
-Notice: Use of undefined constant data.. -Notice: Use of undefined constant mail... -Undefined variable Why in my scripts i always get error notice like this? How can i solve this problem? Thanks

[PHP-DB] Search problems... :(

2003-07-13 Thread Marco Mastrorilli
uot; - $row[titolo]"; } foot(); ?> Everything goes right till foreach ($Keys as $single_word) that RETURNS: Warning: Invalid argument supplied for foreach() in c:\programmi\apache group\apache\test\prova\result.php on line Do U know why? Thanks in advance Marco

[PHP-DB] UPDATE query

2003-07-14 Thread Marco Mastrorilli
i'm new in studing php/mysql so HELP ME! :) thx the query doesn't flow... What's wrong in this code?! in the DB there are 2 tables, here you are the queries to create them: -table autori: CREATE TABLE autori ( nome varchar(50) NOT NULL default '', mail varchar(50) default NULL, PRIM

[PHP-DB] Re: Acces Microsoft access database in shared mode

2003-10-17 Thread Marco Montesines
Hi Jeroen, If you're going to update the file...the database will be locked... but if your just going to view it...it should be fine "Jeroen Verhoeven" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I try to acces an access database from a PHP script runnig on an NT machine

[PHP-DB] Prepared Statement not working (mysql 5)

2005-07-14 Thread Marco Bascietto
nterface level is working as expected. It looks like there is a problem with mysqli PS when the client and the server share the same machine. Does anyone have a clue on what is going on or point me to some tests I can do? Thank you all, marco -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] mysql not valid resource

2005-08-09 Thread Marco Strullato
uot;; $query=mysql_query ($sql, $connessione); $id_tabella, $id_colonna and $connessione has the correct value... The same query runs perfectly if I exec it directly on the db. Do you have any suggestions? Marco -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: php-db Digest 23 Nov 2005 09:54:55 -0000 Issue 3170

2005-11-24 Thread Marco Schierhorn
ation is very welcome.I would really appreciate any of them. Cheers Marco -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] [PEAR] help with FormBuilder and checkboxes

2006-10-17 Thread Marco Sottana
> marco schrieb: >> [code] >> function preGenerateForm() >> { >> $this->fb_preDefElements['alive'] = >> HTML_QuickForm:: >> createElement('advcheckbox','alive','Ali >> ve',null,null,$this->alive); >&g

[PHP-DB] MySQL, stored procedures, SIGNAL/RESIGNAL

2012-09-27 Thread Marco Baumgartl
cting memory statistics => No Tracing => n/a Loaded plugins => mysqlnd,example,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password API Extensions => mysql,mysqli,pdo_mysql Am I doing anything wrong, is this feature not supported by the PHP driver or is it a bug? Regards, Marco -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: MySQL, stored procedures, SIGNAL/RESIGNAL

2012-10-08 Thread Marco Baumgartl
Just for the archive: problem was caused because the query returned multiple result sets (which is not supported by PDO). If the stored procedures only return one result set, everything works fine. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsu

RE: [PHP-DB] Problema con MySQL

2004-01-31 Thread Marco A. Ortiz
Buenos días a todos: Espero que alguno de ustedes hable español y me pueda ayudar a descubrir qué está mal en el siguiente código: El objetivo de la función es acceder a una base de Datos (MySQL) y mostrar los registros que cumplan cierta condición. Si no existe ningún registro que cumpla la co

[PHP-DB] SMTP authentication

2004-02-09 Thread Marco A. Ortiz
Good afternoon dear friends: I want to ask you, how I must setup my PHP.INI file, to send e-mail from my Web Site if my SMTP server requires authentication. Otherwise, I want to know if exits some kind of “public” SMTP sever that I could use. Thank you very much. mArK

[PHP-DB] PHP and Informix installation

2001-07-26 Thread Muciño Zúñiga Marco Antonio
check = End of Error Report = Aborting! Looks like the library libifos.so is wrong, does anyone have an idea what's going on? Thanks in advance. Marco Muciño -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

RE: [PHP-DB] PHP and Informix installation

2001-07-27 Thread Muciño Zúñiga Marco Antonio
essage- From: Paul Gardiner [mailto:[EMAIL PROTECTED]] Sent: Friday, July 27, 2001 7:57 AM To: Muciño Zúñiga Marco Antonio; [EMAIL PROTECTED] Subject: Re: [PHP-DB] PHP and Informix installation Hi, To be honest I don't know if PHP will work with version 5.x of Informix. I think it must b

RE: [PHP-DB] odbc oracle need help!!!!!!

2001-07-30 Thread Muciño Zúñiga Marco Antonio
Check the /etc/services if Unix/Linux or c:\windows\services if windows. In the ODBC definition you supply a service name wich must to exist in this file. I hope this helps. -Original Message- From: sdk [mailto:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001 12:29 PM To: [EMAIL PROTECTED]

[PHP-DB] Error "making" php with informix

2001-08-28 Thread Muciño Zúñiga Marco Antonio
Hi, I'm trying to install php-4.0.6 in my SCO Unix box but when I run the make command I get the next error: /bin/sh ../libtool --silent --mode=link gcc -g -O2 -o libZend.la -lifsql -lif asf -lifgen -lifos -lifgls -lnsl_s -lcrypt_i -lgen -lsocket -lnsl -lsuds -ltinfo -lprot -lx -ltinfo -lc -l