Re: [PHP] component template questions

2005-04-26 Thread Petar Nedyalkov
On Wednesday 27 April 2005 08:34, Evert|Rooftop wrote: > Hi folks, > > I'm working on a component system for php forms and all, and I'm > wondering about an issue I have. I have a few ideas on how to fix this > problem, but I would like to hear your oppinions about it. > > These are my classes: > >

Re: [PHP] Dates problem

2005-04-26 Thread Petar Nedyalkov
On Wednesday 27 April 2005 09:17, Mario de Frutos Dieguez wrote: > Hi! > > I have a problem with dates. I have a function that sum a duration in > laboral days to an initial date. The problem come when the function > reaches the last sunday of October, the data remains in the last sunday > of Octob

[PHP] Dates problem

2005-04-26 Thread Mario de Frutos Dieguez
Hi! I have a problem with dates. I have a function that sum a duration in laboral days to an initial date. The problem come when the function reaches the last sunday of October, the data remains in the last sunday of October and make an infinite loop. The functions works fine i have test in all

[PHP] Product details not being displayed, based on passed id

2005-04-26 Thread Mark Sargent
Hi All, this page, http://webmonkey.wired.com/webmonkey/99/21/index3a_page3.html?tw=programming has code that is supposed to pass an id via the url string to the same page, and display info of a particular product, based on the id being passed. Everything works fine, until I click the link, and i

[PHP] component template questions

2005-04-26 Thread Evert | Rooftop
Hi folks, I'm working on a component system for php forms and all, and I'm wondering about an issue I have. I have a few ideas on how to fix this problem, but I would like to hear your oppinions about it. These are my classes: Component FormElement extends Component ComboBox extends FormElement Int

Re: [PHP] php class that allow quick row ordering

2005-04-26 Thread Graham Anderson
Hi I am allready using a 'rank' field now... with 1 to N :) There are just so damned many of them to order manually the up/down button solution...is there a tutorial or php class out there I could take a look at... where you: give the class a query... get a found set back as html with these up/

Re: [PHP] JavaScript - object property

2005-04-26 Thread Richard Lynch
On Tue, April 26, 2005 7:51 pm, Eli said: > I know this is not the forum, but I googled and couldn't find it, so > please try to help me with this. > > /*/ > function MyCls(name) > { > this.name=name; > } > function SayHi() > { > alert('Hi, '+this.name+'!'); > } > var obj=new MyCls(

Re: [PHP] Re: handling a user pressing browser's back button

2005-04-26 Thread Richard Lynch
On Tue, April 26, 2005 7:02 pm, Matthew Weier O'Phinney said: > 1. Display form on page 1. Page 1 has Cache-Control: no-cache header. > 2. User submits form to page 2 > 3. Page 2 processes form, stores required variables in session, and then >redirects to page 3. > 4. Page 3 displays results (s

Re: [PHP] php class that allow quick row ordering

2005-04-26 Thread Richard Lynch
On Tue, April 26, 2005 7:05 pm, Graham Anderson said: > lately, I'm finding myself reordering large amounts of rows populated > from a database query ...with an order_id field > this is a bit tedious re-entering every order_id for a found set :( Do different users get to order differently, or is

Re: [PHP] PHP Designer 2005

2005-04-26 Thread Richard Lynch
On Mon, April 25, 2005 7:43 pm, The Disguised Jedi said: > another process tries to do something, phpDesigner shrinks into the > background, and uses almost no CPU, only to crawl back up to 100% after > the > other process is finished. Not to be alarmist, but that almost sounds like some kind of w

Re: [PHP] Show data in two columns

2005-04-26 Thread Richard Lynch
On Tue, April 26, 2005 3:11 am, Amir Mohammad Saied said: > i want to extract the data from my DB (it's an articles database) and > want to show them in 2 columns way, like zend.com's articles section, > could any one help me? Do you want them in column order or row order? (left-right or up-down)

Re: [PHP] PHP safe_mode

2005-04-26 Thread Richard Lynch
On Tue, April 26, 2005 6:48 am, kioto said: > Hi all i have problem with safe_mode i don't understand the logic to > apply to avoid owners > problem with script. > Can you step by step ho to solve ? http://php.net/features.safe-mode may have your answer. Be sure to read the User Contributed note

Re: [PHP] Any clever ideas on how to find some random records?

2005-04-26 Thread Richard Lynch
On Tue, April 26, 2005 7:55 am, Brian Dunning said: > I have a MySQL database with about a million records. I'd like to use > the SQL command "order by RAND()" but my ISP won't let me: whenever > the server gets spidered, Google overloads their MySQL server because > of all the overhead of that

Re: [PHP] Can this code go faster?

2005-04-26 Thread Richard Lynch
On Tue, April 26, 2005 9:56 am, René Fournier said: > I've looked in the docs and don't see anything for this per se... > I need to convert a binary number of arbitrary length to a signed > integer. No matter what you do, a PHP integer is going to be 32-bit. So "artbitrary length" is not gonna ha

Re: [PHP] handling a user pressing browser's back button

2005-04-26 Thread Richard Lynch
On Tue, April 26, 2005 11:51 am, James said: > What have people done in the past to deal with states and such and > keeping these things straight when the user hits the BACK button? Best Option: Don't design your application like that :-) People use the browsers they use because they like its fea

Re: [PHP] handling a user pressing browser's back button

2005-04-26 Thread Matthew Weier O'Phinney
* James <[EMAIL PROTECTED]>: > I apologize in advance if I'm asking basic questions... > > When you hit the back button, won't the browser just take the page > from the cache? > > I haven't switched my POSTs to GETs and this is what I'm seeing. > I have a list of images. There are check boxes nex

[PHP] php class that allow quick row ordering

2005-04-26 Thread Graham Anderson
hi lately, I'm finding myself reordering large amounts of rows populated from a database query ...with an order_id field this is a bit tedious re-entering every order_id for a found set :( Is there a php class out there that allows you to arbitrarily order rows in a found setgraphically ?

[PHP] Re: handling a user pressing browser's back button

2005-04-26 Thread Matthew Weier O'Phinney
* James <[EMAIL PROTECTED]>: > Currently I have an application with PHP scripts that passes POST > variables to keep track of ID's of records, the processing mode and > such. > > I totally didn't design it to handle when a user hits the Back button > in the browser...everything is tightly contro

[PHP] JavaScript - object property

2005-04-26 Thread Eli
Hi, I know this is not the forum, but I googled and couldn't find it, so please try to help me with this. /*/ function MyCls(name) { this.name=name; } function SayHi() { alert('Hi, '+this.name+'!'); } var obj=new MyCls('PHP'); obj.name='JavaScript'; //this will call SayHi() functio

Re: [PHP] how to read a specific "cell"

2005-04-26 Thread Richard Lynch
On Tue, April 26, 2005 2:05 pm, Sebastien Pahud said: \> I cannot figure out how to read a specific "cell" in a result i got from > a SQL request. http://php.net/mysql_result You don't want to use that a hundred times instead of mysql_fetch_row, but it's fine for what you want. If you are only g

Re: [PHP] Getting Credit card details

2005-04-26 Thread Richard Lynch
On Tue, April 26, 2005 5:10 pm, Ross said: > Here's what I want to do.. No, you just *THINK* you want to do that :-) > I want to take Credit card details from customers number, expiry, > security number and send them to my client who will put these through his > card terminal in his place

[PHP] Re: phpclasses formerly Flash integration

2005-04-26 Thread Ryan A
On 4/27/2005 1:29:02 AM, Manuel Lemos ([EMAIL PROTECTED]) wrote: > Hello, Hi, Thanks for replying. I know I can take you up on a number of points that you have written that just dont add up, for example: "It is not a matter of greed but rather of keeping the site open dedicating full time to it

[PHP] Getting Credit card details

2005-04-26 Thread Ross
Here's what I want to do.. I want to take Credit card details from customers number, expiry, security number and send them to my client who will put these through his card terminal in his place of business. Any suggestions how to do this? Secure Email, SSL any ideas will be gratefully

[PHP] Re: phpclasses formerly Flash integration

2005-04-26 Thread Manuel Lemos
Hello, on 04/26/2005 03:25 PM Ryan A said the following: several classes that provide different kinds of Flash integration: http://www.phpclasses.org/browse/class/102.html > >>>True, but going there has become a real pain in the ...you know where >>>coz you get a crapload of popups, > > >>

[PHP] Re: Any clever ideas on how to find some random records?

2005-04-26 Thread Brian Dunning
That's great, thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to read a specific "cell"

2005-04-26 Thread Stuart Nielson
Sebastian, just a guess, but maybe when you do $table['de'] it is assuming the first element in the array. i.e. $table['de'][0]. Perhaps if you tried $table['de'][2] it might work. Just an idea. Also, how does your code look to convert the result set to an array? That might help to decipher wha

Re: [PHP] strtotime() lost precision?

2005-04-26 Thread Jochem Maas
Mario de Frutos Dieguez wrote: Hi! I'm back hahaha :D I'm making functions to calculate the duration (only laboral days) between 2 dates and the initial and final date between a duration give me in laboral days. I use the following function to make the diference between 2 dates: function fecDife

[PHP] [SOLVED] Re: [PHP] how to read a specific "cell"

2005-04-26 Thread Sebastien Pahud
Thanks David, Exactly what i was looking for ! Seb David Tucker wrote: I would do it like this : if (mysql_data_seek($result, $rownum)) $a_row = mysql_fetch_row($result); echo $a_row[$column_int]; --Codefox -Original Message- From: Sebastien Pahud [mailto:[EMAIL PROTECTED] Sent: Tu

Re: [PHP] how to read a specific "cell"

2005-04-26 Thread Joseph Connolly
seb, it would help to post the actual table structure jozef Sebastien Pahud wrote: Hello, I cannot figure out how to read a specific "cell" in a result i got from a SQL request. I have a SQL request on a database: SELECT nameAttribute, fr, de, en FROM traduction WHERE nameTable = 'whatever' A

Re: [PHP] Any clever ideas on how to find some random records?

2005-04-26 Thread Jochem Maas
David Tucker wrote: [OP] I have a MySQL database with about a million records. I'd like to use the SQL command "order by RAND()" but my ISP won't let me: whenever the server gets spidered, Google overloads their MySQL server because of all the overhead of that command. I can't just cloak the spider

RE: [PHP] how to read a specific "cell"

2005-04-26 Thread David Tucker
I would do it like this : if (mysql_data_seek($result, $rownum)) $a_row = mysql_fetch_row($result); echo $a_row[$column_int]; --Codefox -Original Message- From: Sebastien Pahud [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 26, 2005 5:52 PM To: php-general@lists.php.net Subject

RE: [PHP] handling a user pressing browser's back button

2005-04-26 Thread Warren Vail
> > I changed everything to GET and it's behaving better! Thanks. > > I guess when the user clicks the back button they should just get > back the last state of the browser...no if, and or but's. This is because when you click the back button on the browser it pulls up the URL from it's histo

Re: [PHP] how to read a specific "cell"

2005-04-26 Thread Sebastien Pahud
Brian V Bonini wrote: On Tue, 2005-04-26 at 17:05, Sebastien Pahud wrote: Hello, I cannot figure out how to read a specific "cell" in a result i got from a SQL request. I have a SQL request on a database: SELECT nameAttribute, fr, de, en FROM traduction WHERE nameTable = 'whatever' AND idTable

Re: [PHP] handling a user pressing browser's back button

2005-04-26 Thread James
Ok Greg: I changed everything to GET and it's behaving better! Thanks. I guess when the user clicks the back button they should just get back the last state of the browser...no if, and or but's. -James At 1:59 PM -0500 4/26/05, Greg Donald wrote: On 4/26/05, James <[EMAIL PROTECTED]> wrote: Wha

[PHP] gettext - multi text domains ?

2005-04-26 Thread Eli
Hi, I haven't yet started with gettext, but I consider to use it. Is it possible to use several text domains of gettext together? For example: I got 2 basic GUIs with their own text domains. I want to combine both the GUIs together, so is it possible to use the text domains of both the GUIs simul

Re: [PHP] how to read a specific "cell"

2005-04-26 Thread Brian V Bonini
On Tue, 2005-04-26 at 17:05, Sebastien Pahud wrote: > Hello, > > I cannot figure out how to read a specific "cell" in a result i got from > a SQL request. > > I have a SQL request on a database: > SELECT nameAttribute, fr, de, en > FROM traduction > WHERE nameTable = 'whatever' > AND idTable = 1

[PHP] how to read a specific "cell"

2005-04-26 Thread Sebastien Pahud
Hello, I cannot figure out how to read a specific "cell" in a result i got from a SQL request. I have a SQL request on a database: SELECT nameAttribute, fr, de, en FROM traduction WHERE nameTable = 'whatever' AND idTable = 1 ORDER BY nameAttribute and i am suppose to get something like this : ---

Re: [PHP] handling a user pressing browser's back button

2005-04-26 Thread James
I apologize in advance if I'm asking basic questions... When you hit the back button, won't the browser just take the page from the cache? I haven't switched my POSTs to GETs and this is what I'm seeing. I have a list of images. There are check boxes next to the images. When the user checks ima

Re: [PHP] logical advise

2005-04-26 Thread Brent Baisley
Since you'll have many pictures per category, category should be in a separate table and linked to a picture via an "id" (i.e. auto increment). On Apr 26, 2005, at 1:47 PM, Ryan A wrote: Hey, am a bit stumped as to how to do this: We are allowing users to make "categories" , then they upload the

Re: [PHP] Re: Hidden File Downloads

2005-04-26 Thread Philip Hallstrom
This is what I do to "force" excel docs to be downloaded... Header("Content-Type: application/vnd.ms-excel"); This tells the browser that it's an Excel file. Header("Content-Disposition: attachment; filename=general-data.xls"); This tells Microsoft browsers (who I think made up all the stuff in thi

[PHP] Re: Can this code go faster?

2005-04-26 Thread Rolf Østvik
[EMAIL PROTECTED] (René Fournier) wrote in news:[EMAIL PROTECTED]: > I need to convert a binary number of arbitrary length to a signed > integer. > This is how I'm doing it now: > CODE > > function bin2int ($bin) { > if (substr($bin,0,1) == 1) { > $val = 0 - bindec(substr

Re: [PHP] Re: PHP Designer 2005

2005-04-26 Thread Lester Caine
John Hinton wrote: Greg Donald wrote: On 4/26/05, Lester Caine <[EMAIL PROTECTED]> wrote: I have had exactly the same problem with a number of home brew applications. What's that mean, 'home brew' ? Applications I have made myself - to sell ! The application seems very professional to me, eve

Re: [PHP] Re: Opera 8.0 cache ????

2005-04-26 Thread Thomas Goyne
On Tue, 26 Apr 2005 02:03:28 -0700, William Stokes <[EMAIL PROTECTED]> wrote: I just tested this on a normal http site header ("Cache-Control: no-cache"); with Opera 8.0 and it seems to me that the browser respects the no-cache header. -Will Load the page, then navigate away and hit the back but

Re: [PHP] Re: phpclasses formerly Flash integration

2005-04-26 Thread Ryan A
> I would normally prefer to not get involved at all, but in this case I > would ask that we *just let this thread die*. > > > > All of the people that have responded to this thread are regular / > > helpful contributors to this group. If you take personal offense to ads > > or whatever then make

Re: [PHP] handling a user pressing browser's back button

2005-04-26 Thread Greg Donald
On 4/26/05, James <[EMAIL PROTECTED]> wrote: > What have people done in the past to deal with states and such and > keeping these things straight when the user hits the BACK button? Use GET instead of POST for your form method. And if you need both methods just handle the incoming requests from t

[PHP] handling a user pressing browser's back button

2005-04-26 Thread James
Currently I have an application with PHP scripts that passes POST variables to keep track of ID's of records, the processing mode and such. I totally didn't design it to handle when a user hits the Back button in the browser...everything is tightly controlled...The user clicks on links/buttons

Re: [PHP] Re: phpclasses formerly Flash integration

2005-04-26 Thread Jason Barnett
I would normally prefer to not get involved at all, but in this case I would ask that we *just let this thread die*. All of the people that have responded to this thread are regular / helpful contributors to this group. If you take personal offense to ads or whatever then make this a private d

RE: [PHP] Re: phpclasses formerly Flash integration

2005-04-26 Thread Ryan A
Hey Jay, > I think that your entire response was out of line Ryan. Anyone who wants > to make a profit deserves to do so. I would have to bet that the margin > is not nearly high enough to 'buy a Ferrari'. He has worked hard for any > success he has gained and for you to take him on over it is bey

RE: [PHP] Re: phpclasses formerly Flash integration

2005-04-26 Thread Jay Blanchard
[snip] The bottom line is this: you can easily reduce the number of ads on that site without hurting yourself in any way, but you have decided to take the RIAA way and thump the very people who made your product a success just because you can and greedyness.. but please correct me if I am wrong...

[PHP] Re: phpclasses formerly Flash integration

2005-04-26 Thread Ryan A
Hi, > >>several classes that provide different kinds of Flash integration: > >>http://www.phpclasses.org/browse/class/102.html > > True, but going there has become a real pain in the ...you know where > > coz you get a crapload of popups, > I understand you do not like ads. I do not like them e

[PHP] logical advise

2005-04-26 Thread Ryan A
Hey, am a bit stumped as to how to do this: We are allowing users to make "categories" , then they upload their pics to one of these categories. Should I have two tables: user_categories pic_details or should I use one table for both? Seems silly , but my heads feeling "loopy" :-p Thanks, Ryan

[PHP] Re: Can this code go faster?

2005-04-26 Thread Jason Barnett
Well that was retarded of me... I missed that you said you needed negative integers... in which case I don't know of anything better than what you've already coded. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Can this code go faster?

2005-04-26 Thread Jason Barnett
René Fournier wrote: I've looked in the docs and don't see anything for this per se... I need to convert a binary number of arbitrary length to a signed integer. This is how I'm doing it now: CODE function bin2int ($bin) { if (substr($bin,0,1) == 1) { $val = 0 - bindec(substr($

RE: [PHP] Timetables

2005-04-26 Thread Jared Williams
> > On Mon, April 25, 2005 3:14 pm, Richard Collyer said: > > This is probably more of a db question but... > > Probably. > > > I am writing an employee database for work. The majority of it is > > simple enough however I am stuck on the timetabling. It has > to be done > > in PHP as there ar

Re: [PHP] Re: problem with array diff, need to reindex array according

2005-04-26 Thread Jason Barnett
Angelo Zanetti wrote: sorry I'm not using array_diff_assoc just array_diff... /* Should also be able to re-index the diff of two arrays */ $diff = array_values(array_diff($a, $b)); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP Designer 2005

2005-04-26 Thread John Hinton
Greg Donald wrote: On 4/26/05, Lester Caine <[EMAIL PROTECTED]> wrote: I have had exactly the same problem with a number of home brew applications. What's that mean, 'home brew' ? The application seems very professional to me, even if it is free. Home brew... like free stuff... stuff you

[PHP] Can this code go faster?

2005-04-26 Thread René Fournier
I've looked in the docs and don't see anything for this per se... I need to convert a binary number of arbitrary length to a signed integer. This is how I'm doing it now: CODE function bin2int ($bin) { if (substr($bin,0,1) == 1) { $val = 0 - bindec(substr($bin,1))

Re: [PHP] Re: PHP Designer 2005

2005-04-26 Thread Greg Donald
On 4/26/05, Lester Caine <[EMAIL PROTECTED]> wrote: > I have had exactly the same problem with a number of > home brew applications. What's that mean, 'home brew' ? The application seems very professional to me, even if it is free. -- Greg Donald Zend Certified Engineer http://destiney.com/ -

Re: [PHP] Re: PHP Designer 2005

2005-04-26 Thread Lester Caine
The Disguised Jedi wrote: Contact the company who wrote the software you're trying to use for > support. Already done. They haven't responded in more than a week. Just as an aside - I have had exactly the same problem with a number of home brew applications. Built using Builder5 and 6. It is jus

RE: [PHP] Any clever ideas on how to find some random records?

2005-04-26 Thread David Tucker
[OP] I have a MySQL database with about a million records. I'd like to use the SQL command "order by RAND()" but my ISP won't let me: whenever the server gets spidered, Google overloads their MySQL server because of all the overhead of that command. I can't just cloak the spiders because I need the

Re: [PHP] Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource

2005-04-26 Thread Chris Shiflett
Mark Sargent wrote: *Warning*: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in */var/www/html/phpmysqltable.php* on line *36* Below are snippets of my code, Line 22: $result = mysql_query("SELECT product_name, product_model_number, product_serial_number FROM Products",$

Re: Re[2]: [PHP] Re: PHP Designer 2005

2005-04-26 Thread Ryan A
> Hello Ryan, Hey Rich, > >> Already done. They > haven't responded in more than a week. > > RA> Keep pestering theman email every day or maybe 2+ emails > RA> everyday. > > No - sorry but this advice isn't > fair. PHP Designer 2005 is a FREE > product, even if the original poster had made a

RE: [PHP] Re: PHP Designer 2005

2005-04-26 Thread Chris W. Parker
Joseph Connolly on Tuesday, April 26, 2005 8:12 AM said: > Well, it does help to know that pther people are using the product on > multiple machines and are not having problems. It may be that there is > something conflicting with the program. HE may have not yet loo

Re: [PHP] Re: problem with array diff, need to reindex array according to key

2005-04-26 Thread Angelo Zanetti
sorry I'm not using array_diff_assoc just array_diff... Jason Barnett wrote: > Angelo Zanetti wrote: > >> HI all, >> >> I am using the array_diff function. >> The problem im having is the array that gets returned. Well here's an >> example: >> >> this is where i assign the values to two different

Re: [PHP] Persistent Database Connections

2005-04-26 Thread Michael Phillipson
Thanks, Philip (and Richard also), for offering your impressions. Per Philip's suggestion, I ran "ab" (Apache Benchmark) to stress test the page that loads my persistent connection. Depending on the parameters I set for ab, I was able to increase the number of connections from my initial 9 to

Re: [PHP] Re: step by step learning

2005-04-26 Thread Lancer Emotion 16
you can go to www.w3schools.com,too On 4/26/05, Jason Barnett <[EMAIL PROTECTED]> wrote: > Paul Kain wrote: > > Hi there > > > > are there any sites online that show one how to learn php in a step by > > step fashion? > > > > I am really lost and would need to start at the very beginning > > > > I

[PHP] Re: problem with array diff, need to reindex array according to key

2005-04-26 Thread Jason Barnett
Angelo Zanetti wrote: HI all, I am using the array_diff function. The problem im having is the array that gets returned. Well here's an example: this is where i assign the values to two different arrays $a[]="0"; $a[]="1"; $a[]="2"; $a[]="3"; $b[]="1"; $b[]="4"; $b[]="0"; $diff = array_diff_assoc($

Re: [PHP] Problems reading a DOMDocument out of a session

2005-04-26 Thread Jochem Maas
Cas wrote: Tried the newest libXML stable release (2.6.19) and recompiled mod_php with it but I still have get the error: Warning: Couldn't fetch DOMDocument in /var/www/localhost/htdocs/pluxbox/test.php on line 20 foo May I ask what your system specs are? (OS, PHP and libXML version). sure, I only

[PHP] problem with array diff, need to reindex array according to key

2005-04-26 Thread Angelo Zanetti
HI all, I am using the array_diff function. The problem im having is the array that gets returned. Well here's an example: this is where i assign the values to two different arrays $a[]="0"; $a[]="1"; $a[]="2"; $a[]="3"; $b[]="1"; $b[]="4"; $b[]="0"; $diff = array_diff_assoc($a, $b); then c

[PHP] Re: Any clever ideas on how to find some random records?

2005-04-26 Thread Jason Barnett
Brian Dunning wrote: I have a MySQL database with about a million records. I'd like to use the SQL command "order by RAND()" but my ISP won't let me: whenever the server gets spidered, Google overloads their MySQL server because of all the overhead of that command. I can't just cloak the spid

Re: [PHP] Re: PHP Designer 2005

2005-04-26 Thread Joseph Connolly
Well, it does help to know that pther people are using the product on multiple machines and are not having problems. It may be that there is something conflicting with the program. HE may have not yet looked into that? He also may have a memory problem. PHPD2005 does not seem to eat up resource

RE: [PHP] modify array data

2005-04-26 Thread Jay Blanchard
[snip] I am wanting to rotate the array 45 degrees. "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, April 22, 2005 8:46 am, Jon Aston said: > > Is there a way to easily rotate array data? > > > > what I want to do is > > change from > > > > bob | bill | frank

Re: [PHP] Re: want to take credit card payments (novice)?

2005-04-26 Thread Angelo Zanetti
yes actually I started the post but I cant remember the subject...but if you can find that thread it will be beneficial to what you want to do... HTH AndreaD wrote: >Been looking into and and you both are right. > >All I have to do is sort out the SSL!! > > >"AndreaD" <[EMAIL PROTECTED]> wrote i

[PHP] Any clever ideas on how to find some random records?

2005-04-26 Thread Brian Dunning
I have a MySQL database with about a million records. I'd like to use the SQL command "order by RAND()" but my ISP won't let me: whenever the server gets spidered, Google overloads their MySQL server because of all the overhead of that command. I can't just cloak the spiders because I need

Re: [PHP] modify array data

2005-04-26 Thread Jon Aston
I am wanting to rotate the array 45 degrees. "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, April 22, 2005 8:46 am, Jon Aston said: > > Is there a way to easily rotate array data? > > > > what I want to do is > > change from > > > > bob | bill | frank > > j

Re: [PHP] Re: PHP Designer 2005

2005-04-26 Thread John Nichel
Joseph Connolly wrote: Sorry, but i have had NO problems with PHP Designer 2005 I have it running on 3 machines...never a problem with memory usagei think it is the greatest thing since sliced bread. That doesn't exactly help the OP does it? -- John C. Nichel ÜberGeek KegWorks.com 716.856.967

Re: [PHP] Re: PHP Designer 2005

2005-04-26 Thread Jason Barnett
Joseph Connolly wrote: Sorry, but i have had NO problems with PHP Designer 2005 I have it running on 3 machines...never a problem with memory usagei think it is the greatest thing since sliced bread. Then perhaps you can help out the OP? Do you have any idea why it's eating up CPU? -- PH

Re[2]: [PHP] Re: PHP Designer 2005

2005-04-26 Thread Richard Davey
Hello Ryan, Tuesday, April 26, 2005, 3:11:31 PM, you wrote: >> Already done. They haven't responded in more than a week. RA> Keep pestering theman email every day or maybe 2+ emails RA> everyday. No - sorry but this advice isn't fair. PHP Designer 2005 is a FREE product, even if the origina

Re: [PHP] Re: PHP Designer 2005

2005-04-26 Thread Joseph Connolly
Sorry, but i have had NO problems with PHP Designer 2005 I have it running on 3 machines...never a problem with memory usagei think it is the greatest thing since sliced bread. Jason Barnett wrote: The Disguised Jedi wrote: Some might consider this OT, but I need to figure this out somehow,

[PHP] Re: step by step learning

2005-04-26 Thread Jason Barnett
Paul Kain wrote: Hi there are there any sites online that show one how to learn php in a step by step fashion? I am really lost and would need to start at the very beginning I already know and understand html Googling "PHP Tutorial" will give you more, but here's a few: PHPFreaks.com Zend.com devsh

Re: [PHP] Re: PHP Designer 2005

2005-04-26 Thread Ryan A
On 4/26/2005 3:12:10 PM, The Disguised Jedi ([EMAIL PROTECTED]) wrote: > > Contact the company who wrote the software > you're trying to use for > > support. > Already done. They haven't > responded in more than a week. Keep pestering theman email every day or maybe 2+ emails everyday. -Rya

[PHP] Re: PHP Designer 2005

2005-04-26 Thread Jason Barnett
The Disguised Jedi wrote: Some might consider this OT, but I need to figure this out somehow, and google has been no help. I downloaded and installed PHP Designer 2005, and I really like it so far, but I'm having some problems. Any time it is running, my CPU Usage goes up to 100% and the proces

Re: [PHP] step by step learning

2005-04-26 Thread [EMAIL PROTECTED]
try webmonkey.com my first tutorial was this http://webmonkey.wired.com/webmonkey/programming/php/tutorials/tutorial4.html little bit out of date (1999), but it's good one. maybe will be helpful for you. :) -afan Paul Kain wrote: Hi there are there any sites online that show one how to learn php

[PHP] PHP safe_mode

2005-04-26 Thread kioto
Hi all i have problem with safe_mode i don't understand the logic to apply to avoid owners problem with script. Can you step by step ho to solve ? Thanks so much in advice. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] step by step learning

2005-04-26 Thread Jay Blanchard
[snip] I'm not sure of any sites, but there's plenty of books. I started with the SAMs Teach Yourself PHP4 book (which may be dated now, who knows) and then switched to a more robust book after getting the language basics (I think the SAMs series are great for getting a cursory look at a language

Re: [PHP] Error en PHP

2005-04-26 Thread Jason Barnett
Pedro Luis Cruz Riguetti wrote: como puedo salir de sta lista q esta llenando mi correo. http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] encrypting pwds using blowfish encryption

2005-04-26 Thread John Nichel
Bosky, Dave wrote: Does anyone have a simple code example of encrypting passwords using the blowfish encryption method? I've only used blowfish with Java and I'm unsure of the syntax. http://us4.php.net/mcrypt -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Ma

Re: [PHP] step by step learning

2005-04-26 Thread Joseph Connolly
hey paul, php is not like html. HTML is a markup language and PHP is a scripting languange. Once you get through installing PHP, it is not like HTML where you start with the basic tags and learn them one by one. PHP has functions and you need to know which funcitons you need for the right job

RE: [PHP] step by step learning

2005-04-26 Thread Mike
> Hi there > > are there any sites online that show one how to learn php in > a step by step fashion? > > I am really lost and would need to start at the very beginning > > I already know and understand html > > -- I'm not sure of any sites, but there's plenty of books. I started with the S

Re: [PHP] step by step learning

2005-04-26 Thread Petar Nedyalkov
On Tuesday 26 April 2005 16:16, Paul Kain wrote: > Hi there > > are there any sites online that show one how to learn php in a step by > step fashion? > > I am really lost and would need to start at the very beginning Get a book, there are thousands LAMP (Linux, Apache, MySQL, PHP) oriented books

[PHP] Re: encrypting pwds using blowfish encryption

2005-04-26 Thread M. Sokolewicz
$encrypted_data = mcrypt_ecb(MCRYPT_BLOWFISH, $key, $input, MCRYPT_ENCRYPT); http://www.php.net/mcrypt Dave Bosky wrote: Does anyone have a simple code example of encrypting passwords using the blowfish encryption method? I've only used blowfish with Java and I'm unsure of the syntax. Thanks,

[PHP] step by step learning

2005-04-26 Thread Paul Kain
Hi there are there any sites online that show one how to learn php in a step by step fashion? I am really lost and would need to start at the very beginning I already know and understand html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP Designer 2005

2005-04-26 Thread The Disguised Jedi
> Contact the company who wrote the software you're trying to use for > support. Already done. They haven't responded in more than a week. -- The Disguised Jedi [EMAIL PROTECTED] Now you have my $0.02. Or .01 Pounds, .014 Euros, or $0.025 CAN. I'm world-wide BABY! PHP rocks! "Knowledge is Pow

Re: [PHP] Re: Cache control

2005-04-26 Thread The Disguised Jedi
> I think I need to prevent the pages from beeing cached. How this can > be done? I'm totally inexperinced with this stuff. Look at the examples and user notes in the header statement in the manual. http://php.net/function.header That should help you, they have a whole section on how to stop ca

Re: [PHP] Zend Certification Exam

2005-04-26 Thread M Saleh EG
Well glad that now u put it this way! For me all that matter is jus knowing wat's gonna be up at the exam. When I said someone who passed it realy wanned to know how to tackel the whole thing... u might fail once n pass the second time. I still dont get/understand the negative way of looking at

[PHP] encrypting pwds using blowfish encryption

2005-04-26 Thread Bosky, Dave
Does anyone have a simple code example of encrypting passwords using the blowfish encryption method? I've only used blowfish with Java and I'm unsure of the syntax. Thanks, Dave HTC Disclaimer: The information contained in this message may be privileged and confidential and protected fr

Re: [PHP] Zend Certification Exam

2005-04-26 Thread Aaron Gould
Chris Ramsay wrote: Perhaps it came across as a bit cheeky to Aaron - I kind of got the impression that an answer from someone who has had a go but not passed the exam was not good enough for you... Really, I doubt whether there is any difference in doing the exam whatever the outcome, seeing as wh

[PHP] Re: number of cookies and if there are any cookies set?

2005-04-26 Thread M. Sokolewicz
AndreaD wrote: I need two bits of info... (i) Are there ANY cookies set? if(count($_COOKIES) > 0) { echo 'cookies are set'; } else { echo 'no cookies set, or to be more precise, no cookies are set which are available to this site'; } (ii) How many cookies are set? echo count($_COOKIES); how do I

Re: [PHP] Line feed in a echo

2005-04-26 Thread M. Sokolewicz
Ken wrote: On 4/26/05, Mario de Frutos Dieguez <[EMAIL PROTECTED]> wrote: Andri Heryandi escribió: Use echo "something "; is that what you mean? Mario de Frutos Dieguez wrote: How can i make a line feed in a echo instruction? like printf("foo\n"); yes that's it thx -- Mario de Frutos Dieguez Div

Re: [PHP] number of cookies and if there are any cookies set?

2005-04-26 Thread Ken
On 4/26/05, AndreaD <[EMAIL PROTECTED]> wrote: > I need two bits of info... > > (i) Are there ANY cookies set? > > (ii) How many cookies are set? > > how do I find this information out? > > AD > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/u

  1   2   >