Re: [PHP] mysql_num_rows()

2011-02-22 Thread Daniel Molina Wegener
ame']; > } > $county_total=mysql_num_rows($result); > echo "$county_total"; > > echo 'You Have ' . "$county_total" . ' Counties '; > > ?> Best regards, -- Daniel Molina Wegener System Programmer & Web Developer Phone: +56 (2) 979-0277 | Blog: http://coder.cl/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] array to var - with different name

2011-01-20 Thread Daniel Molina Wegener
27;) { > $t_string = $t_string . "t_" . substr($key,2) . "=$value&"; > parse_str($t_string); >} > } > - > > I figure I can adapt the above by doing something like: > > $a_formvars = array_merge($_POST,$_GET); > > However, I thought I'd check with you all to see if there is something > I'm missing. I don't speak PHP that well and there may be an easier way. Did you tried the $_REQUEST variable? Take a look on: > > Thanks, > Donovan Best regards, -- Daniel Molina Wegener System Programmer & Web Developer Phone: +56 (2) 979-0277 | Blog: http://coder.cl/

Re: [PHP] Flexible application plugin architecture, is this possible?

2011-01-04 Thread Daniel Molina Wegener
filter... > > I realize PHP doesn't have this magical "__instantiate" function, but > does it have any similar mechanism that would work to automatically > load alternate classes, or have a class dynamically overload > itself during runtime? Well, you can do this usin

Re: [PHP] session_id() is not passed to the next page

2011-01-04 Thread Daniel Molina Wegener
} > exit(); > } > 8<-- > > which call the following page correctly, but the two vars $sess_user and > $sess_timeout are empty. > > Can someone please tell me how to do this? Did you tried working with

Re: [PHP] How does one reply to messages on this list?

2010-12-16 Thread Daniel Molina Wegener
creator of the message. > > Neither option seems correct. What's up with that? If your MUA (or email client) is smart enough, it should have at least "Reply", "Reply to Sender", "Reply to All" and "Reply to Mailing List". Here I have all

Re: [PHP] sending email

2010-12-15 Thread Daniel Molina Wegener
n SMTP server. You need to use SMTP server, you can try phpmailer, swift mailer and related packages third party PHP libraries. You will need them, for example, if your SMTP server requires authentication. > > Thanks > > Marc Best regards, -- Daniel Molina Wegener System Programm

Re: [PHP] http request

2010-12-05 Thread Daniel Molina Wegener
been > executed. You can try cURL: http://php.net/manual/en/book.curl.php > > > Thanks. > > musa Best regards, -- Daniel Molina Wegener System Programmer & Web Developer Phone: +56 (2) 979-0277 | Blog: http://coder.cl/

Re: [PHP] excel and word files to HTML

2010-11-29 Thread Daniel Molina Wegener
php?q=excel&in=packages&x=0&y=0 Probably you need to use an OpenOffice instance and some macros if you want more effective results. > > best regards, > Leilei Best regards, -- Daniel Molina Wegener System Programmer & Web Developer Phone: +56 (2) 979-0277 | Blog:

Re: [PHP] Form Processing

2010-11-29 Thread Daniel Molina Wegener
ot;referral_2" style="width: 400px;"> > > maxlength="60" class="referral_3" style="width: 400px;"> > > maxlength="60" class="referral_4" style="width: 400px;"> > > maxlength="60" cla

Re: [PHP] Form Processing

2010-11-29 Thread Daniel Molina Wegener
referral_4" style="width: 400px;"> > > maxlength="60" class="referral_5" style="width: 400px;"> > > name="submit" value="Add New Referrals"> > > > > > What am I doing wrong? > > Ron > > The Verse of the Day > “Encouragement from God’s Word” > http://www.TheVerseOfTheDay.info Best regards, -- Daniel Molina Wegener System Programmer & Web Developer Phone: +56 (2) 979-0277 | Blog: http://coder.cl/ signature.asc Description: This is a digitally signed message part.

Re: [PHP] Disk IO performance

2010-11-29 Thread Daniel Molina Wegener
On Monday 29 November 2010, Per Jessen wrote: > Daniel Molina Wegener wrote: > > On Sunday 28 November 2010, > > > > Larry Garfield wrote: > >> There are many things that everybody "knows" about optimizing PHP > >> code. One of them is that on

Re: [PHP] Disk IO performance

2010-11-29 Thread Daniel Molina Wegener
), so you can't do a quick on a file. > > Modernizing what "everyone knows" is important for the general community, > and the quality of our code. > > --Larry Garfield Best regards, -- Daniel Molina Wegener System Programmer & Web Developer Phone: +56 (2) 979-0277 | Blog: http://coder.cl/ signature.asc Description: This is a digitally signed message part.

Re: [PHP] curl and variable parameters in hyperlink

2010-11-24 Thread Daniel Molina Wegener
LOWLOCATION, 0); > $data = curl_exec($ch); > curl_close($ch); > > $data=str_replace('.asp', '.php', $data); > echo $data; > > This returns the web page, but ignores val1 and val2 which are necessary > to execute the query. Best regards, -- Daniel Molina Wegener System Programmer & Web Developer Phone: +56 (2) 979-0277 | Blog: http://coder.cl/ signature.asc Description: This is a digitally signed message part.

Re: [PHP] How to protect the source code.

2010-11-19 Thread Daniel Molina Wegener
m/ >irc://irc.freenode.net:6667 - TheCoin > ************** Best regards, -- Daniel Molina Wegener System Programmer & Web Developer Phone: +56 (2) 979-0277 | Blog: http://coder.cl/ signature.asc Description: This is a digitally signed message part.