[PHP] Re: Tracking a mobile phone

2005-07-18 Thread George B
Ethilien wrote: I think that would require tapping the cellphone network, which I doubt they would let you do since it be a major violation of privacy, because you could track the general location of anyone on their network. Thomas wrote: Hi there, I was wondering if anybody has attempte

[PHP] Re: jpgs into database

2005-07-18 Thread George B
Matthew Weier O'Phinney wrote: * Jasper Bryant-Greene <[EMAIL PROTECTED]> : George B wrote: is it possible to put in a jpg file into a database? I am trying to make like a catalong and have all the files (including pics) and everyone can see. is this possible? Sure -- if you

[PHP] change letter to all caps

2005-07-18 Thread George B
Lets say I have a form. And when user types in the form and clicks go, it shows output. but. lets say the person type in monday But I want the php code to change it too MONDAY how do I do that? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

[PHP] syntax error, unexpected T_STRING

2005-07-18 Thread George B
I am trying to connect to a datbase: " mysql_select_db ('database') or die ("couldnt connect to databse") " What is wrong here? This is the error: Parse error: syntax error, unexpected T_STRING in file name on line 12 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

[PHP] Re: syntax error, unexpected T_STRING

2005-07-18 Thread George B
George B wrote: I am trying to connect to a datbase: " mysql_select_db ('database') or die ("couldnt connect to databse") " What is wrong here? This is the error: Parse error: syntax error, unexpected T_STRING in file name on line 12 this code works though

Re: [PHP] syntax error, unexpected T_STRING

2005-07-18 Thread George B
Jim Moseby wrote: I am trying to connect to a datbase: " mysql_select_db ('database') or die ("couldnt connect to databse") " What is wrong here? This is the error: Parse error: syntax error, unexpected T_STRING in file name on line 12 -- PHP General Mailing List (http://www.php.net/)

[PHP] show a field in php file

2005-07-18 Thread George B
Hey guys how would i show a filed from a MySQL database in a php file? Isnt it this? SELECT * FROM `user` But that dosent work because it comes out blank :-\ And I already am connected to the database Code: mysql_connect ('localhost','myaccount','mypass') or die ("could not connect to ser

Re: [PHP] show a field in php file

2005-07-18 Thread George B
Jochem Maas wrote: John Nichel wrote: George B wrote: http://us2.php.net/manual/en/index.php :-) anyone care for a php mysql extension: mysql_do_xml_http_request_bound_richdatagrid([string] query); george if you want to keep asking questions on NRBS** then you'll need to change

[PHP] My Project

2005-07-19 Thread George B
Hey guys! This is gona be one of my last questions (hopefully) But here I will include all the info about my new project. It is going to be like a RPG Game written in PHP. There is going to be a store where you could buy weapons etc... The thing I want to ask you guys is this. Lets say There is

Re: [PHP] My Project

2005-07-19 Thread George B
Shaw, Chris - Accenture wrote: Taxi for one.. -Original Message- From: George B [mailto:[EMAIL PROTECTED] Sent: 19 July 2005 17:39 To: php-general@lists.php.net Subject: [PHP] My Project Hey guys! This is gona be one of my last questions (hopefully) But here I will include all the

Re: [PHP] My Project

2005-07-19 Thread George B
Paul Waring wrote: On Tue, Jul 19, 2005 at 09:39:21AM -0700, George B wrote: And I have 100 points. How would I make it so when I click BUY!! My money automaticaly subtracts from 100 to 90. How do I do that? Where is your money being stored? In a database? A text file? A cookie? Do you want

Re: [PHP] My Project

2005-07-19 Thread George B
Paul Waring wrote: On Tue, Jul 19, 2005 at 09:50:06AM -0700, George B wrote: My money is being stored in a database. And I want everythign to be in PHP, no java script. And the BUY!! Button is a input button from a form. :) Well in that case you probably want something like this (after

[PHP] What is this?

2005-07-19 Thread George B
How is this possibly not working? $money = $_GET ['money']; $money = $money -3 echo $money; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: What is this?

2005-07-19 Thread George B
George B wrote: How is this possibly not working? $money = $_GET ['money']; $money = $money -3 echo $money; oops nvm i forgot the ; on like 2 :D -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] My Project

2005-07-19 Thread George B
Jay Blanchard wrote: [snip] $money -= 10; saves some chars ;) [/snip] This actually requires two trips to the database, once to get $money and once to update $money. Do it in the query instead...once. $sqlUpdate = "UPDATE `myDatabase`.`myTable` SET `myMoney` = (`myMoney`-10) WHERE `myChara

[PHP] Write from form to DB

2005-08-03 Thread George B
Ok, I got this far. include("config.php"); $username = $_GET['name']; $password = $_GET['pword']; echo "Username = " . $username . ""; echo "Password = " . $password . ""; $query = "INSERT INTO user (name,password) VALUES ($username","$password") $result = mysql_query($query) config is just all

Re: [PHP] Write from form to DB

2005-08-03 Thread George B
Jay Blanchard wrote: [snip] $query = "INSERT INTO user (name,password) VALUES ($username","$password") would do the job but, it dosent. It gives a Parse error: syntax error, unexpected T_VARIABLE in C:\Program Files\Apache Group\Apache2\htdocs\php\login\registration_action.php on line 15 [/s

Re: [PHP] Write from form to DB

2005-08-03 Thread George B
Jim Moseby wrote: [snip] $query = "INSERT INTO user (name,password) VALUES ("'.$username.'","'.$password.'") "; Try that... should work. your query syntax is mangled. Backwards on your quotes Jay. Go home and get some sleep. ;) [/snip] Damn these corporate mergers! Corrected query $quer

Re: [PHP] Write from form to DB

2005-08-03 Thread George B
Jay Blanchard wrote: [snip] It does not seem to be putting anything into the DB. Gives no errors, but I check PHP My Admin, and there is nothing in the users and passwords field. I think something isnt working hmmm [/snip] There is a brilliant statement if there ever was one! ROFLMMFAO!

Re: [PHP] Write from form to DB

2005-08-03 Thread George B
Jay Blanchard wrote: [snip] Yeah I am using "root" which has all permissions [/snip] Are you sure? Did you specifically GRANT ALL to root? When you did, did you flush the permissions? BTW, using root is a Bad Idead[tm]. [/snip] Also, check the mysql error log Never mind guys! I got it working!

Re: [PHP] Write from form to DB

2005-08-03 Thread George B
Jay Blanchard wrote: [snip] Yeah I am using "root" which has all permissions [/snip] Are you sure? Did you specifically GRANT ALL to root? When you did, did you flush the permissions? BTW, using root is a Bad Idead[tm]. [/snip] Also, check the mysql error log Thanks for all the help guys. It

[PHP] Message check then post

2005-08-03 Thread George B
I am coding a message board. I am about done. I have all the forms needed for the message. So it all works out. The user types in his name, message title, and the message itself. Then clicks submit. The Submit button takes him to the message check. The message check shows all the stuff the use

Re: [PHP] Regular expression question

2005-08-11 Thread b-bonini
n Thu, 11 Aug 2005, Leon Vismer wrote: > Hi > > I would like to convert from one naming convention within a sql statement to > another. > > I have the following, > > > $str = "insert into userComment (userID, userName, userSurname) values (0, > 'Leon', 'Vismer')"; > > $match = array( > "/([a-z]+)

[PHP] frame help!

2005-08-12 Thread George B
I made a left frame, then made the three pages, and all the frames show fine. But this is not my problem! I made a "leftpane" which has code to check if user exists (its for a login script). In the code for the login FORM I set it to go directly to the "userpane" file. It works fine! It recogni

[PHP] Re: frame help!

2005-08-12 Thread George B
George B wrote: I made a left frame, then made the three pages, and all the frames show fine. But this is not my problem! I made a "leftpane" which has code to check if user exists (its for a login script). In the code for the login FORM I set it to go directly to the "userpane&

[PHP] mail()

2005-08-17 Thread George B
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() I checked php.ini and everything is open [mail function] ; For Win32 only. SMTP = localhost smtp_port = 25 ; For Win32 only. sendmail

Re: [PHP] mail()

2005-08-17 Thread George B
John Nichel wrote: George B wrote: Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() I checked php.ini and everything is open [mail function] ; Fo

Re: [PHP] mail()

2005-08-17 Thread George B
André Medeiros wrote: Do you have a mail server running? No, how do I get a mail server running? And does it allow me to receive e-mails, or only send? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail()

2005-08-17 Thread George B
John Nichel wrote: Jordan Miller wrote: Did you install sendmail? No sendmail for Windows. He either has to have a Microsoft MTA running on localhost, or use an upstream SMTP account. There is no "Microsoft MTA", I searched google couldnt find anything. so. Anyway, im screwed and I cant

Re: [PHP] mail()

2005-08-17 Thread George B
Shaw, Chris - Accenture wrote: Can you send to a smtp server provided by your isp? -Original Message- From: George B [mailto:[EMAIL PROTECTED] Sent: 17 August 2005 18:11 To: php-general@lists.php.net Subject: Re: [PHP] mail() * This e-mail has been

Re: [PHP] mail()

2005-08-17 Thread George B
Shaw, Chris - Accenture wrote: yeah I can send to the SMTP server of my ISP, but no where else. If you can send to the smtp server then your ISP should deliver the email. If you have not filled in the sendmail_from var in the php.ini correctly, they cannot send back a mail saying there was a

Re: [PHP] mail()

2005-08-17 Thread George B
(I had to code a webmail application once and I found a few free MTA servers, so I believe you'll be able to do that to without breaking a swet :) Good luck with your project! On 8/17/05, George B <[EMAIL PROTECTED]> wrote: Shaw, Chris - Accenture wrote: yeah I can send to the

[PHP] from database to links

2005-08-23 Thread George B
You know on forums when you make a topic right away it makes like a new link to your topic. How do you do that in PHP? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] problem with ' or "

2005-08-23 Thread George B
I made a script that posts data into a database but it has a problem whenever I enter a ' or a ". How do I bypass this problem? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problem with ' or "

2005-08-23 Thread George B
Jasper Bryant-Greene wrote: George B wrote: I made a script that posts data into a database but it has a problem whenever I enter a ' or a ". How do I bypass this problem? If it is MySQL, use mysql_real_escape_string() [1]. If any other database, have a look in the PHP manual [

Re: [PHP] problem with ' or "

2005-08-23 Thread George B
Jasper Bryant-Greene wrote: George B wrote: Jasper Bryant-Greene wrote: George B wrote: I made a script that posts data into a database but it has a problem whenever I enter a ' or a ". How do I bypass this problem? If it is MySQL, use mysql_real_escape_string() [1]. If

Re: [PHP] from database to links

2005-08-24 Thread George B
Richard Lynch wrote: On Tue, August 23, 2005 3:52 pm, George B wrote: You know on forums when you make a topic right away it makes like a new link to your topic. How do you do that in PHP? $_POST[new_topic]"; } ?> http://php.net/mysql_insert_id is probably the piece of the pu

[PHP] Error #1136

2005-08-24 Thread George B
Column count doesn't match value count at row 1 What does that mean? I have an id auto_increment and it breaks everytime because of that error. This has never happend before... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] make it remember

2005-08-24 Thread George B
Ok, I am doing a sort of a project right now... It is like a php chat room that records every message into a database. Now, on the first post I want it to like set the name, so on first post it would say Name: and you set your name, then on every other message you post it just says Posted by an

Re: [PHP] make it remember

2005-08-24 Thread George B
Robert Cummings wrote: On Thu, 2005-08-25 at 00:10, George B wrote: Ok, I am doing a sort of a project right now... It is like a php chat room that records every message into a database. Now, on the first post I want it to like set the name, so on first post it would say Name: and you set

Re: [PHP] make it remember

2005-08-25 Thread George B
Robert Cummings wrote: On Thu, 2005-08-25 at 00:19, George B wrote: Robert Cummings wrote: On Thu, 2005-08-25 at 00:10, George B wrote: Ok, I am doing a sort of a project right now... It is like a php chat room that records every message into a database. Now, on the first post I want it

[PHP] invert

2005-08-25 Thread George B
I have written a shoutbox, and it works great, but I am wondering... When a user posts a shout it goes below the first shout. Like the auto_increment puts the ID up higher. I need it to go about the first shout, so like the auto_increment would invert. Someone told me this is possible through P

Re: [PHP] invert

2005-08-25 Thread George B
Jordan Miller wrote: if you are using mysql, just put the "DESC" (descending) directive at the end of your sql statement (default is no "DESC" directive, meaning ascending). most recent records will be returned first. Jordan On Aug 25, 2005, at 2:21 PM, George B wrot

Re: [PHP] invert

2005-08-25 Thread George B
Łukasz 'nostra' Wojciechowski wrote: W odpowiedzi na maila (21:21 - 25 sierpnia 2005): I have written a shoutbox, and it works great, but I am wondering... When a user posts a shout it goes below the first shout. Like the auto_increment puts the ID up higher. I need it to go about the first

Re: [PHP] make it remember

2005-08-25 Thread George B
Robert Cummings wrote: On Thu, 2005-08-25 at 15:18, George B wrote: Robert Cummings wrote: On Thu, 2005-08-25 at 00:19, George B wrote: Robert Cummings wrote: On Thu, 2005-08-25 at 00:10, George B wrote: Ok, I am doing a sort of a project right now... It is like a php chat room

[PHP] Bug??

2005-08-30 Thread b-bonini
for($i=1;$i<13;$i++) { echo $i . " :: "; echo date('F', mktime(0, 0, 0, $i)) . " :: "; echo mktime(0, 0, 0, $i) . "\n"; } 1 :: January :: 1107061200 2 :: March :: 1109739600 3 :: March :: 1112158800 4 :: April :: 1114833600 5 :: May :: 1117425600 6 :: June :: 1120104000 7

[PHP] Problems with strings being handled like numbers

2005-09-13 Thread J B
I suspect I'm far from the first person to have this problem, but I can't seem to find the right search terms to locate the solution. Basically, I'm doing a database query and dumping the results into an array. Then, later, when I try to display the contents of the array, I run into problems. O

Re: [PHP] Problems with strings being handled like numbers

2005-09-13 Thread J B
On 9/13/05, Chris <[EMAIL PROTECTED]> wrote: > > Are you sure you're getting the number as you need it from the query? > > PHP won't (though I guess there could be a bug) automatically convert a > numerical string into it's numerical equivalent. > > If the code you posted produces this problem,

Re: [PHP] Problems with strings being handled like numbers

2005-09-15 Thread J B
On 9/14/05, Richard Lynch <[EMAIL PROTECTED]> wrote: > mssql_* and PHP "know" that the data is supposed to be "integer" > > But the largest integer that PHP can store is 0x. > > So when PHP tries to accept the "integer" from mssql_fetch_row, it's > got no room to store it as integer, and

Re: [PHP] Encoding or obfuscating tool

2005-09-18 Thread J B
On 9/18/05, Rory Browne <[EMAIL PROTECTED]> wrote: > Personally I would be more interested in hearing how you can justify > obfuscating code before delivering it to a client. For the same reasons that most commercial software houses that distribute compiled software in binary form don't include

Re: [PHP] Re: email validation (no regex)

2005-09-21 Thread J B
On 9/21/05, Michael Sims <[EMAIL PROTECTED]> wrote: > Additionally, some mail servers unconditionally accept mail addressed to ANY > username at their domain, whether that user actually exists or not. This is > very > bad practice, because it usually means the accepting MTA is a "dumb" host > th

[PHP] problems creating php extension

2002-03-12 Thread Cristóvão B. B. Dalla Costa
Hi I'm currently working on a proprietary application server being used within my company. It uses a proprietary protocol over TCP/IP to interface to remote clients and we currently use an extension I made for PHP 4.0.6. The problems came when we upgraded to PHP 4.1.x. We could compile our modul

[PHP] Function passed as argument to function

2002-11-30 Thread Jeffrey B . Ferland
std_layout("Title here", list_writings(poetry)) both std_layout and list_writings are user-defined functions. std_layout() echo's the two arguments that it takes at select points in its execution. I want to the output of list_writings() to be an argument for std_layout(). -Jeff SIG: HUP -- P

Re: [PHP] Function passed as argument to function

2002-11-30 Thread Jeffrey B . Ferland
On Saturday 30 November 2002 03:14 pm, you wrote: > On Sunday 01 December 2002 03:54, Jeffrey B.Ferland wrote: > > std_layout("Title here", list_writings(poetry)) > > > > both std_layout and list_writings are user-defined functions. > > std_layout() echo's the two arguments that it takes at select

Re: [PHP] Function passed as argument to function

2002-12-01 Thread Jeffrey B. Ferland
> > For reference, see http://autocracy.homelinux.org/template.php and > > http://autocracy.homelinux.org/error.php > > Unless you have a good reason to do otherwise please post your code here. > People would be less inclined to help if they have to go about clicking on > links to see what your pro

Re: [PHP] Guestbook

2002-12-01 Thread Jeffrey B. Ferland
> The quick solution, if you intend to continue the autoincrement field, is to > number the entries manually when you're displaying them: Something along the > lines of: > > $count = 0; > while ($row(mysql_fetch_array($result_id))) { > $count++; > echo "Entry $count"; > ... > ..

Re: [PHP] MySQL vs PostgreSQL

2003-01-06 Thread Jeffrey B. Ferland
> > I'm just deciding which DB to use for my projects and I'm not clear with one > > thing... When considering a database for web, is MySQL good enough? I read > > it only supports table locking, which is not very satisfying in such a > > multiuser environment as the internet.. > > PostgreSQL has t

Re: [PHP] MySQL vs PostgreSQL

2003-01-06 Thread Jeffrey B. Ferland
> Not to cause a flame war, but, MySQL and PostgreSQL are both excellent > choices, MySQL tends to be a lighter less feature rich database while > PostgreSQL tends to have more features, perform better under load, etc. Under differing types of load, yes. MySQL is more hit-based, while PostgreSQL d

Re: [PHP] Suggestions on FAQ application?

2003-01-11 Thread Jeffrey B. Ferland
> Why re-invent what is already written? I'm well aware that it's easy to > write but there may be something out there already that suits my needs and > has some features that I hadn't thought of. If you don't have a suggestion > on a package please spare me the rude replies which seem to run rampa

Re: [PHP] count characters without space

2003-01-11 Thread Jeffrey B. Ferland
> who knowes how to count the charcaters in a string without the space > character? Using a regular expression to strip out all the spaces before passing to the word counting function seems easiest. You'll be left to adapt it to PHP, but the regexp is: 's/ //g' That removes all spaces. If it gives

[PHP] Dinamic Object Creation

2003-03-13 Thread Piero B. Contezini
Hello, I'm developing a project where i need to access some XML files as objects, i've seen the dom_xmltree function but it makes me a tree of arrays of objects, too complicated to manipulate and hard to find the content within the object. Anyone have manipulated dinamic objects? I am reading the

[PHP] Re: Unable to install PHP4.2.3 + Apache 1.3 + Win2k

2003-03-14 Thread Paul B. McBride
Here are the PHP related lines from my Appache2.0.43 httpd.conf file. ScriptAlias /php4/ "E:/PHP4/" AddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps Action application/x-httpd-php /php4/php.exe With this setup, all *.php and *.phtml files are processed corr

[PHP] Reminder programs

2003-07-23 Thread c b gambrell
Does anyone have experience with any of these email reminder programs or can someone suggest a better alternative? "myAgenda" "E*Reminders" "Flash - Reminders" "Email Reminders" These seem to address my needs (support web-based creation of reminder, support single or recurring reminders, can

[PHP] Proc_open() problems

2003-03-19 Thread Piero B. Contezini
I'm having problems while opening a ssh session thru proc_open(), anyone knows why i can see the remote terminal prompt while reading the stdout? It just doesn't appear! Piero "It occurred to me by intuition, and music was the driving force behind that intuition. My discovery was the result of m

RES: [PHP] Proc_open() problems

2003-03-19 Thread Piero B. Contezini
Do you have any idea where I can find more info about it? Piero -Mensagem original- De: Marek Kilimajer [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 19 de março de 2003 12:02 Para: Piero B. Contezini Cc: [EMAIL PROTECTED] Assunto: Re: [PHP] Proc_open() problems The problem is

RES: [PHP] XML Problems

2003-03-20 Thread Piero B. Contezini
I had the same problem a week ago, so i wrote a little function to convert xml files into usable objects (the dom_xmltree function sucks a lot), Basicly it converts the XML data into a object and make arrays for multi nodes, i also have done another function to write the object on disk, may be very

RES: [PHP] XML Problems

2003-03-20 Thread Piero B. Contezini
$obj = load_xml("http://weather.interceptvector.com/weather.xml?id=QlJYWDAxMzA% 3D"); Enjoy XML! Piero -Mensagem original----- De: Piero B. Contezini [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 20 de março de 2003 21:45 Para: 'Burhan Khalid' Cc: [EMAIL PROTECTED] Assunto

RES: RES: [PHP] XML Problems

2003-03-20 Thread Piero B. Contezini
So ask the administrator to install it, without it kidding with XML will be a hell! Piero -Mensagem original- De: Burhan Khalid [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 20 de março de 2003 22:15 Para: Piero B. Contezini Assunto: Re: RES: [PHP] XML Problems Hello Piero

RES: [PHP] Built in source encode function..

2003-03-21 Thread Piero B. Contezini
Use Zend Encoder/Engine, thats how zend makes money Piero -Mensagem original- De: Awlad Hussain [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 21 de março de 2003 10:59 Para: [EMAIL PROTECTED] Assunto: [PHP] Built in source encode function.. I think PHP should have a built in abili

[PHP] window size...

2003-04-04 Thread Deependra b. Tandukar
Hi, Is there anyway to define a fixed window size using PHP as we do with JavaScript? Regards, DT -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] What the heck is this Zope?

2002-08-09 Thread Deependra b. Tandukar
Dear all: What the heck is this Zope? Which is better PHP or Zope? Any idea ! DT

[PHP] fread() fails with large files

2002-11-03 Thread Sora B. Harbater
Hi. I am using Linux/Apache with PHP 4.1.2. I have been experiencing this problem since upgrading from an earlier version of PHP 4. My script forces a download of a PDF file after looking up some info in a database. The code looks like this: $file="/path/to/file"; $fp = fopen($file, "r"); $

[PHP] register_globals

2003-09-02 Thread Deependra b. Tandukar
Hi, I have configured PHP 4.3.3 in which register_gloabals is set to be off. I modified etc/php.ini and set it to be On but still it shows it is off and some developed applications in php are asking for it to be turned on. How do I do this? Regards, DT -- PHP General Mailing List (http://www

[PHP] mail function

2003-09-10 Thread Deependra b. Tandukar
Dear all, Recently installed PHP in my Linux server. It says, mail function is not enabled? How is turn this on? Regards, _DT -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] run exe file

2003-10-20 Thread Deependra b. Tandukar
Dear all, Is there anyway that I can put .exe file on the web, and allow visitors only to run it, not download it. Regards, DT -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Template Function

2003-12-18 Thread Cameron B. Prince
Hello, I have just been assigned to a project to convert a large static site to PHP. I have used PHP for small jobs in the past, but most of my work has been with Perl. One feature I've used and liked very much was provided by a package called Embperl. In particular, Embperl::Object, which allows

[PHP] PHP Compile w/ Sun ONE Directory Server

2003-12-23 Thread Cameron B. Prince
Hi, I am trying to compile PHP with LDAP support via the Sun ONE Directory Server. I am running into a problem where some functions aren't being found in the include or shared libraries. Here's my configure command: export LD_LIBRARY_PATH="/usr/lib:/usr/local/nss-3.8/lib:/usr/local/nspr-4.3/lib:/

[PHP] Dynamically Created Arrays

2004-01-09 Thread Cameron B. Prince
Hey guys, I'm making progress on my perl to PHP conversion project but I need some help... I have a configuration table in MySQL made up like this: CREATE TABLE config ( code mediumint(9) NOT NULL auto_increment, site varchar(32) NOT NULL default '', name varchar(64) NOT NULL default '',

RE: [PHP] Dynamically Created Arrays

2004-01-09 Thread Cameron B. Prince
t($result); Your's seems more elegant, so I'll give it a try. Thanks, Cameron -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 11:06 AM To: Cameron B. Prince Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Dynamically Created Arrays This sh

[PHP] Array Key Test

2004-01-12 Thread Cameron B. Prince
Hi, How would I go about determining if a specific key exists in an array? I want to see if $conf['hOpt'] is defined. is_array only works at the $conf level. I tried count(array_keys($conf, 'hOpt')), but always get 0. What am I doing wrong here? Thanks, Cameron -- PHP General Mailing List (

[PHP] Pattern Capture

2004-01-13 Thread Cameron B. Prince
Ok, I feel really lame for asking this, but I can I do this in PHP: $userid =~ /([\D]+)/; $baseName = $1; It seems like "Pattern Capture" is not the right term for the similar function in PHP. I'm not sure what to search for. Thanks, Cameron -- PHP General Mailing List (http://www.php.net/) To

[PHP] JavaScript

2001-02-25 Thread Deependra B. Tandukar
Greetings! Is there any equivalent code for (JavaScript) Back Button in php? This works as back button on the menu bar. Looking forward to hearing from you. regards, DT -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

[PHP] subscript my mail-id for php

2001-02-28 Thread B Satish , Gurgaon
can you subscribe my mail-id for Php general mailing lists satish -- 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] subscribe my mail-id for php mailing lists

2001-02-28 Thread B Satish , Gurgaon
can you subscribe my mail-id for php general mailing lists satish -- 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] Question

2001-03-04 Thread Deependra B. Tandukar
Greetings ! I am using PHP4 and MySQL for database in the web. I am using two tables. I made a search script for one table which displys the list on the web page and want to put a link in one of the fields on that web page so that the link takes browserts to the data of the other page. I could n

[PHP] subscribe my mail-id for PHP mailing lists

2001-03-05 Thread B Satish , Gurgaon
dear sir can you please subscribe my mail-id for PHP mailing group lists Thanks in advance satish -- 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: [EMAI

[PHP] MySQL help URGENT

2001-03-06 Thread Deependra B. Tandukar
Greetings! I am trying to compile MySQL. what I did are: tar -xvzf mysql-3.23.33.tar.gz cd mysql-3.23.33 ./configure --prefix=/usr/local/mysql then it startx to work and inerrupt and says testing gcc working: no configure: error: installation or configure problem: c compiler can not create execut

[PHP] problem in downloading mysql

2001-03-07 Thread B Satish , Gurgaon
> hi friends > > can any one of you send me the url's to download mysql database since > three > days i have been trying to download that through www.mysql.com but > unfortunately everytime download was incomplete. > i need some url's other than mysql.com where i can download mysql > databas

[PHP] RE: ezmlm response

2001-03-07 Thread B Satish , Gurgaon
> -- > From: > [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, March 07, 2001 2:42 PM > To: [EMAIL PROTECTED] > Subject: ezmlm response > > > > hi friends > > can any one of you send me the url's to download mysql database since > three > days i have been

[PHP] mysql_fetch_array()

2001-03-07 Thread Deependra B. Tandukar
Greetings! I am using PHP and MySQL in RedHat 6.0. I have used mysql_fetch_array() to display the datas in web page but all the columns are printed twice. What can be the wrong with my code: "; while ($row=mysql_fetch_array($sql_result)) { print ""; foreach ($row as $field) pr

[PHP] Concurent requests

2001-03-09 Thread Daniel B I
Please, any idea how to manage concurent requests, for example like in a shopping cart? Scenario: 1. I have a counter A (a field in a database row), set to 1, so A=1 2. A client wants 1 unit from A , it checks and it's OK, there is available. 3. Another client wants 1 unit from A, it check

[PHP] PHP & Apache with SSL

2001-03-11 Thread Daniel B I
Hello, any idea how to limit file access (php files) by protocol type call? I mean how could I serve a php file only if it is called with SSL (https://... not http://...) I saw this on a site when I was refused because I didn't use secure protocol, and I wonder, how could I do that? Is there a spe

Re: [PHP] Netscape 4.77 and PHP

2001-04-15 Thread B. van Ouwerkerk
ou're sending to the browser. NS is less forgiving then M$ IE. Just take a closer look at the HTML code.. Bye, B. -- 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 admin

RE: [PHP] How to unsubscribe

2001-04-17 Thread B. van Ouwerkerk
At 17:56 17-4-01 +0900, Maxim Maletsky wrote: >See the footer below... Yeah, or learn to read headers: list-help: <mailto:[EMAIL PROTECTED]> list-unsubscribe: <mailto:[EMAIL PROTECTED]> list-post: <mailto:[EMAIL PROTECTED]> You see.. Bye, B. -- PHP General Mailing Lis

[PHP] bounces from messages send to this list

2001-04-19 Thread B. van Ouwerkerk
#x27;ve got it all figured out.. Thanks, B. -- 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]

Re: [PHP] SETUP PHP , MYSQL, APACHE

2001-04-19 Thread B. van Ouwerkerk
;t even remember. Same question.. same answer.. www.devshed.com has a nice tutorial.. and please.. before sending another question to this or any other list.. check the archive Or try a searchengine, you'll be amazed to see what you can dig up.. Hope you'll enjoy PHP.. Bye, B

Re: [PHP] Apache, PHP, Windows XP, MSIE 6, Cheese, and Cookies.

2001-04-23 Thread B. van Ouwerkerk
dream. Or.. use a cheap Celeronbased computer and create your own in-house testbed server.. For most people even an old 486 or Pentium might do the job.. Bye, B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

Re: [PHP] Can I install Lihnux on My Windows 95 machine ?

2001-04-24 Thread B. van Ouwerkerk
ld reinstall the lot with less partitions and install Linux as part of the process. Anyway.. if you don't have any experience with Linux you're going to see some problems.. Bye, B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

RE: [PHP] Very important.

2001-04-25 Thread B. van Ouwerkerk
ne who send a virus to a list should have been kicked off the listadmins would have a daytime job on this.. Bye, B. -- 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,

Re: [PHP] Very important.

2001-04-25 Thread B. van Ouwerkerk
>I may have lost several weeks of work to this virus, and I advise you all >to watch out, as it was likely sent inadvertantly. Does the word "backup" ring any bells Ever hear about "antivirus software" Bye, B. -- PHP General Mailing List (http://www.p

<    1   2   3   4   5   6   7   8   9   >