[PHP] globals, simpletest and php from command line

2006-08-30 Thread blackwater dev
I have a php app that runs on php4. I am writing some unit tests now using SimpleTest but some of the libraries that I have to pull in for testing are failing. For example, my db library sets some params: $dname="mydatabase"; $usr="me"; ..etc I then have some mysql functions that connect using

[PHP] live chat support

2006-09-01 Thread blackwater dev
Does anyone have any recommendations on some good live chat support apps? These are the ones where someone can go to your site, click a button and open a chat window with a customer service person. I'm particularly interested in ones where we handled the server and everything. Thanks!

[PHP] storing function names in db and running them as row is output?

2006-09-20 Thread blackwater dev
First, the example I have is not the real situation, just an example so I don't want to get into why are you doing it like that, etc. Just want to see if it's possible. Basically, I want to store stuff in a text field in a db like this "johns name is ucfirst('john adams') ". When I cycle throug

Re: [PHP] storing function names in db and running them as row is output?

2006-09-20 Thread blackwater dev
great, thanks. So if it's just text, eval won't do anything? On 9/20/06, Christopher Weldon <[EMAIL PROTECTED]> wrote: blackwater dev wrote: > First, the example I have is not the real situation, just an example so I > don't want to get into why are you doing it li

[PHP] strange errors from command line vs. web

2006-09-27 Thread blackwater dev
I have some code that makes a connection to the db. When I run this code from the command line, it stops at the db connection. If I call the script from the browser, it works fine. I've changed the permissions and that didn't work. The db connection is the basic, localhost, root, with no passw

Re: [PHP] strange errors from command line vs. web

2006-09-28 Thread blackwater dev
rror...or at least no error to the screen and I do have a check right after to kick off the mysql error if there is no connection ID but again, I am su'ing to root so I thought it would always have rights. Not really sure what to do next. Thanks! On 9/27/06, Richard Lynch <[EMAIL PROTECT

Re: [PHP] strange errors from command line vs. web

2006-09-28 Thread blackwater dev
ting) This is the great way PHP-cli lets you know it hasn't got any MySQL support :) Enable that, and you're good to go. Mind you, PHP-cli has a separate php.ini file. Ivo On Thu, 28 Sep 2006 08:26:13 -0400, blackwater dev wrote: > Ok, I've set up a username and password usi

Re: [PHP] strange errors from command line vs. web

2006-09-28 Thread blackwater dev
Yep, I get called to undefined function so I need to somehow re-compile the cli version? How do I give support to just the cli version? I'm going to the docs now. Thanks! On 9/28/06, Travis Doherty <[EMAIL PROTECTED]> wrote: blackwater dev wrote: > Ok, dumb question but ho

[PHP] session issues on ie

2006-11-28 Thread blackwater dev
I have code which logs someone in and then allows them to see certain info if they are logged in. I have users who claim it works fin in some of their browsers, firefox, safari, etc and some versions of IE but not all and I'm stumped. Here's the code: //this is from the login routine if ($this

[PHP] turning use session cookies off still uses cookies?

2006-11-30 Thread blackwater dev
I asked a similar question the other day but I have been having an issue lately with my sessions and certain browsers. I then tried to set my session.use_cookies var in php.ini to 0 yet if I log in and don't have cookies turned on, the sessions still don't seem to work. Can I really use sessions

[PHP] inheritance php4

2006-12-12 Thread blackwater dev
Ok, I have a class which inherits from a parent class. My first thought is that the child class inherits all of the functions of the parent but that doesn't seem to be the case, do I really have to put parent::somefunction() to call each one? Why can't I just use $this->parentfunction(); within

[PHP] Re: inheritance php4

2006-12-12 Thread blackwater dev
nevermind, I was doing something stupid. On 12/12/06, blackwater dev <[EMAIL PROTECTED]> wrote: Ok, I have a class which inherits from a parent class. My first thought is that the child class inherits all of the functions of the parent but that doesn't seem to be the case, do I

[PHP] use_trans_id doesn't add PHPSESSID to url string

2006-12-20 Thread blackwater dev
I have session.user_trans_id set to 1 in my php.ini file yet when I see links, the PHPSESSID isn't automatically added. I have another site where this is done by php but on another box it isn't. The broken box uses 4.3.11with the following ini settings. What am I missing? Thanks! session.auto

[PHP] installing freetds

2006-02-26 Thread blackwater dev
I am a linux newbie but just compiled freetds on my fedora box. I used the basic options: ./configure make make install make clean According to the docs it should install to /usr/local/freetds After all this I don't have a freetds folder in /local/. If I go into /usr/local/bin, I do have a tsq

[PHP] recompiling php

2006-02-26 Thread blackwater dev
I am trying to recompile php 5 with freetds so am using this : ./configure '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql=/root/mysql-standard-4.1.9-pc-linux-gnu-i686' '--with-mssql=/usr/local/freetds' Things seem ok so I do make and at the end of make I get this error: /usr/bin/ld:ext

[PHP] moving data from mssql to mysql on linux

2006-03-14 Thread blackwater dev
I have a project where I need to connect to a remote SQL Server and move data from their to my localy MySQL server. On the remote SQL Server, I only have access to a few views but need to get their data and move it to my local MySQL db. What is the best way to do this? I have freetds compiled an

[PHP] dumping array to file

2006-03-15 Thread blackwater dev
I am doing a select from a mssql db and will then pump it into a mysql db. What is the easiest way to take the result array from the mssql db and dump it to a file that I can just pull into MySQL short of writing out to the file row by row. Thanks.

[PHP] adding code and beginning and end without includes

2006-03-16 Thread blackwater dev
Is there a way to intercept and add code at the beginning and end of every http request - WITHOUT having to put an include at the top and bottom of every page? This is something we need to be app specific so don't really want to do it globally like chanse the php.ini or something. Thanks!

[PHP] pulling in template file in var and populating vars?

2006-03-22 Thread blackwater dev
I have a chunk of html data that I want to output for each iteration through a db result while($result){ $list.=file_get_contents("my_template_file.php"); } return $list; The template file looks like this: I basically want a good way to keep the template file out of t

[PHP] a better way to transfer data?

2006-04-11 Thread blackwater dev
Hello all, I am currently running freetds on a linux box that needs to move data from a remote mssql db to the local mysql db. I wanted to use bcp but freetds couldn't as the data I am moving contains a blob field. I am currently using php to select all the rows from the mssql db, and then loopi

[PHP] mod_rewrite help

2006-05-03 Thread blackwater dev
Hello all, I am trying to create a simply rule so that when someone goes to: mysite.com/users/1 They are redirected to: mysite.com/users/index.php?uid=1 But am a bit lost looking through all the docs. I know people do this all the time so am looking for some help. Thanks!

[PHP] php script fails when run from cron

2006-05-03 Thread blackwater dev
I have a script which runs fine from the command line but when I try to run it via cron, it seems to fail when the db class is instatiated, here is some code: $yesterday = date("Y-m-d",mktime(0, 0, 0, date("m") , date("d")-1, date("Y"))); $file=fopen("/usr/local/apache2/htdocs/core/logs/import.

Re: [PHP] php script fails when run from cron

2006-05-04 Thread blackwater dev
I finally got it working and Chris was correct. It appears that cron was using the wrong php. Pumping the errors of even logging them wouldn't have helped as I was tweaking the ini for the php I thought it was using. When I explicitly tell it which one to use, it seems to work fine. Thanks! O

[PHP] cookie style saving without cookies

2006-05-09 Thread blackwater dev
I have a realty site where people want to be able to save properties but don't want to enter a username/password, etc. My first thought is just to save the info to a cookie but am not sure if this is the best way. If cookies aren't allowed, they will loose this functionality. I had thought abou

[PHP] getting $_GET params from iFrame window to parent

2006-05-10 Thread blackwater dev
Hello all, I have a small site which provides search functionalities. My search sites are framed in my clients sites via iframe. I have a client who would like to put the search form somewhere else on their site (it is currenly all on my page within the iframe) and then call their search page t

[PHP] sending mail via php and unix box-clients thinks it's spam

2006-05-30 Thread blackwater dev
I have a site running on a linux box. If I use my mail server via an email client, the email works fine but if I send email through the mail function, clients mark it as spam. I see the line in php.ini for SMTP but that says windows only. How do I tell php to use my mail server? Thanks!

Re: [PHP] sending mail via php and unix box-clients thinks it's spam

2006-06-10 Thread blackwater dev
Here is what I use as the header: $header="From:[EMAIL PROTECTED]: text/html"; Thanks! On 5/31/06, Richard Lynch <[EMAIL PROTECTED]> wrote: On Tue, May 30, 2006 12:45 pm, blackwater dev wrote: > I have a site running on a linux box. If I use my mail server via an &g

[PHP] checking if any values in one array are in another

2006-06-12 Thread blackwater dev
Is there a single php function that will tell me if any values in one array are in another without looping through one of the arrays and doing in_array? Thanks!

[PHP] php stopped sending mail

2006-06-12 Thread blackwater dev
Hello, I have some code which uses mail() and a day or so ago, the server stopped sending mail. The code is the same and I checked that sendmail is running. I also checked maillog which showed the messaged as qued but they never come through in email. How can I debug this and what might have

[PHP] order of include on include()

2006-06-14 Thread blackwater dev
If I have a file: /code/folder1/test.php and in that file, it has these includes: include_once("../../file1.php"); include_once("../../file2.php"); include_once("../../file3.php"); I then have another file: /code/test2.php That file pulls in test.php. include_once("folder1/test.php"); Why

[PHP] clean data

2008-10-27 Thread blackwater dev
I have a project now where we would like to properly remove unwanted data before it goes into the db such as ` and of course slashes. The problem is I have tons of pages. Is there an easy way to add in a clean up routine on the db side to clean it going in and coming out without having to touch e

Re: [PHP] clean data

2008-10-27 Thread blackwater dev
l place. > > Thank you, > Micah Gersten > onShore Networks > Internal Developer > http://www.onshore.com > > > > blackwater dev wrote: > > I have a project now where we would like to properly remove unwanted data > > before it goes into the db such as ` and of cours

[PHP] pdflib tables

2004-11-03 Thread blackwater dev
Is there anyone who is using pdflib +php and formatting your data to the pdf via tables? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] pdf_stringwidth

2004-11-04 Thread blackwater dev
I am using pdf_stringwidth and only passing in the first two parameters yet I recently updated to php 4.3.9 and it now want all 4. According to the manual, these where required with 5...why does 4.3.9 want them? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

[PHP] recompiling php

2004-12-10 Thread blackwater dev
I am a linux newbie and I have php 4.3.8 and Apache 2 installed that ws installed with the Fedora 2 install. I am getting errors that php wasn't compiled with mysql support so now I am trying to do that but get this error when I try to compile: Sorry, I cannot run apxs. Possible reasons follow:

[PHP] flash data grid + php

2004-12-10 Thread blackwater dev
Is anyone using one of the flash data grids within their php application? I am looking to do the same thing but didn't know if it is more work than it's worth. Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Calling php from cron

2004-12-22 Thread blackwater dev
I need to use cron to call my php simpletest runner but am not sure of the syntax. What syntax would I use for the cron job to call an external webpage? My webhost uses webmin where I can just enter the command. I don't want to call a page on the server but an another server. Thanks! -- PHP G

[PHP] installing php5 with mysql

2004-12-29 Thread blackwater dev
Hello, I am trying to install the php5 to my fedora box and I am using a php5/mysql rpm. The rpm keeps complaining that it can't find libmysql.so.14. I have tried to upgrade my mysql to 4.1...where can I get just this file? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] Re: installing php5 with mysql

2004-12-29 Thread blackwater dev
sorry, I meant libmysqlclient.so.14 On Wed, 29 Dec 2004 15:02:06 -0500, blackwater dev <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to install the php5 to my fedora box and I am using a > php5/mysql rpm. The rpm keeps complaining that it can't find > libmys

[PHP] what am I doing wrong? PHP5 on Fedora

2004-12-30 Thread blackwater dev
**First let me say that I am a linux newbie** I have installed Fedora 3 on a development box. I then downloaded the php5 source and followed the php documentation: # ./configure --with-mysql # make # make install Everything went fine, I then went to add the loadmodule line and did a locate on m

Re: [PHP] what am I doing wrong? PHP5 on Fedora

2004-12-30 Thread blackwater dev
ECTED]> wrote: > blackwater dev wrote: > > **First let me say that I am a linux newbie** > > > > I have installed Fedora 3 on a development box. I then downloaded the > > php5 source and followed the php documentation: > > # ./configure --with-mysql > > # mak

Re: [PHP] what am I doing wrong? PHP5 on Fedora

2004-12-30 Thread blackwater dev
ECTED]> wrote: > blackwater dev wrote: > > **First let me say that I am a linux newbie** > > > > I have installed Fedora 3 on a development box. I then downloaded the > > php5 source and followed the php documentation: > > # ./configure --with-mysql > > # mak

Re: [PHP] what am I doing wrong? PHP5 on Fedora

2004-12-30 Thread blackwater dev
es apxs. If it doesn't, > > you'll have to install Apache from source. > > Usually apxs is in the apache-dev package on the various distros. > > -Rasmus > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/u

Re: [PHP] what am I doing wrong? PHP5 on Fedora

2004-12-30 Thread blackwater dev
tion apxs is the > APache eXtension System. > > If you want to use locate, on recently created files, then you should > schedule locate to run updatedb more often. your locate is only as > recent as your last updatedb. > > On Thu, 30 Dec 2004 10:39:50 -0500, blackwater dev >

[PHP] grabbing the range

2005-01-24 Thread blackwater dev
Let's say I have 100 rows in the database, I need to loop throw them ten at a time and for each set grab the max and min ages...I then need to return a multi-dimensional array of all the ranges...I basically want to do this but of course this query won't work: ***this is just pseudo code*** I wou

[PHP] round

2005-01-26 Thread blackwater dev
Hello, I have these values: 8.26456 9.7654 3. 5.2689 and I want them rounded to two decimal places so I use the round : round($value,2) which gives me, for example: 8.26 But, it also gives me 3 instead of 3.00. How can I round but retain the 0's? Thanks! -- PHP General Mailing List (htt

[PHP] replace

2005-01-28 Thread blackwater dev
I have a section of my site that uses HTMLArea to allow the users to manage content. For one certain section, they want all of their links to pop up in another window. I know they can use HTMLArea and add this code themselves but they don't want to get to the code side of it. Currently, I just p

Re: [PHP] replace

2005-01-28 Thread blackwater dev
thanks...I will look that up. Not very good with regular expressions though. On Fri, 28 Jan 2005 08:11:59 -0800 (PST), Richard Lynch <[EMAIL PROTECTED]> wrote: > blackwater dev wrote: > > I have a section of my site that uses HTMLArea to allow the users to > > manage cont

[PHP] mcrypt_module_open

2005-02-03 Thread blackwater dev
Do I have to compile php5 with a specific option to use this function (mcrypt_module_open)? I just have it compiled with mysql and it throws errors that this function is undefined. Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] setting include_path ini directive at runtime

2005-06-23 Thread blackwater dev
I am calling php from the command line and was wondering how I can set the include_path of the ini file at run time? Can I pass in an extra param to php to set this? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] recompiling php

2005-07-06 Thread blackwater dev
I have a linux box which I use periodically. I built php 5.0.3 on it and it runs fine. I just came across a situation where I need to compile in the zlib extension so I got into my php folder and did ./configure with my options, then make and make install. I then restarted Apache but when I look

[PHP] pear channel

2005-07-06 Thread blackwater dev
Hello, I am trying to install something via pear and have tried to add the channels from two different programs but get errors each time: pear channel-discover pear.chiaraquartet.net PHP Warning: PHP Startup: Unable to load dynamic library './php_mcrypt.so' - ./php_mcrypt.so: cannot open shared

Re: [PHP] recompiling php

2005-07-06 Thread blackwater dev
look at phpinfo it still shows the old command used to build it. What am I missing? On 7/6/05, John Nichel <[EMAIL PROTECTED]> wrote: > blackwater dev wrote: > > I have a linux box which I use periodically. I built php 5.0.3 on it > > and it runs fine. I just came acros

Re: [PHP] AJAX & PHP

2005-07-23 Thread blackwater dev
Yep, I integrated it into one of our in house apps a few weeks back just to try it out and it worked ok. Nothing special, just allowed a user to put in a name in a search box and the js called a php script which did a lookup into the db and returned the results as the user typed but worked well wi

[PHP] mysql_connect

2005-09-12 Thread blackwater dev
Hello, I have a strange bug I can't figure out. I am trying to use a third party library and it is throwing errors: Fatal error: Call to undefined function: mysql_pconnect() This doesn't make sense to me as I have other code on that box that uses mysql_pconnect() with no problem. Why would som

[PHP] can't connect to mysql

2005-09-12 Thread blackwater dev
I finally got php5 compiled with mysql but now I can't connect using mysql_connect without getting the error of: Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in... I can ssh into the box and log in to mysql so I think

[PHP] .htaccess

2005-09-13 Thread blackwater dev
I am using .htaccess files throughout my code directory tree to set certain directives such as php_value auto_prepend_file ../lib/libmatrix.php The problem is, they don't work. I have this in apache: Options FollowSymLinks AllowOverride None Where realtors is the root directory of my site...

Re: [PHP] Re: .htaccess

2005-09-13 Thread blackwater dev
Thanks David, I just set it to AllowOverride All and restarted apache but it still doesn't seem to work. On 9/13/05, David Robley <[EMAIL PROTECTED]> wrote: > blackwater dev wrote: > > > I am using .htaccess files throughout my code directory tree to set > > certain

Re: [PHP] Re: .htaccess

2005-09-14 Thread blackwater dev
ense check failed: Cannot find the license file: zend_canaveral.zl (path was: /usr/local/Zend:/usr/lo$ [Wed Sep 14 20:04:51 2005] [notice] Apache/2.0.52 (Unix) PHP/5.0.3 configured -- resuming normal operations On 9/13/05, David Robley <[EMAIL PROTECTED]> wrote: > blackwater dev wrote:

[PHP] php and .htaccess...can't figure it out!

2005-09-15 Thread blackwater dev
Ok, As per an earlier post, I am having problems with .htaccess files. I am trying to set certain php directives using .htaccess files. First it was complaining about several things such as mcrypt and zde: Wed Sep 14 20:04:46 2005] [notice] caught SIGTERM, shutting down PHP Warning: PHP Startu

[PHP] serialize

2005-09-24 Thread blackwater dev
I have an app that stores evaluation scores so I have 30+ values all within a certain range, currently in the db, each of these values has it's own column: Table test id user_id motivation caring personal_characteristics creativity, ...etc. If the client decides they want to

[PHP] displaying image from blog

2005-10-04 Thread blackwater dev
I am querying a MSSQL db where an jpg image is stored as a blog. I have this code: query($query); while($obj = $ms_sql->objects('',$data)){ echo $obj->photo; } $data=$ms_sql->disconnect(); ?> But when viewed I just get all the junk code: !1AQaq"2B'¡±Á #3RðbrÑ $4á%ñ

[PHP] Re: displaying image from blog

2005-10-04 Thread blackwater dev
Sorry, meant BLOB, not blog. On 10/4/05, blackwater dev <[EMAIL PROTECTED]> wrote: > I am querying a MSSQL db where an jpg image is stored as a blog. > > I have this code: > > > > > > > //Do the query > include_once("../includes.list.php"); &

Re: [PHP] displaying image from blog

2005-10-04 Thread blackwater dev
It doesn't appear that gd is installed by my host as that function throws undefined function errors and I don't see gd when I do phpinfo(); On 10/4/05, Michael Crute <[EMAIL PROTECTED]> wrote: > On 10/4/05, blackwater dev <[EMAIL PROTECTED]> wrote: > > I am queryin

[PHP] sessions

2005-10-05 Thread blackwater dev
I have an old site which uses this code on login: //it does a query then if ($affected_rows>0){ session_start(mysite); session_register('admin'); $wardadmin = yes; header("location: admin.php"); } and in the top of admin.php: session_start(mysite);

[PHP] data move from mssql to mysql via php

2005-10-07 Thread blackwater dev
I have an app with a requirement to hit an external mssql db and move the data to a local mysql database. What's the best way to do this? I was thinking of querying the mssql db and writing the contents to a flat file then using mysql load data from infile query to pump it in but I am not sure if

Re: [PHP] data move from mssql to mysql via php

2005-10-07 Thread blackwater dev
Matt, So would you use an odbc driver and call it directly on the shell? I don't have much access on the server or is this something I can do through php? Thanks! On 10/7/05, Matt Darby <[EMAIL PROTECTED]> wrote: > blackwater dev wrote: > > >I have an app with a require

[PHP] calling static method within class

2005-10-28 Thread blackwater dev
I have a class that won't be instantiated...so basically just a bunch of static methods. How do I call one of the class' static methods from within another method? Can't use this, and self doesn't work...this is php4. Thanks. Class Foo{ function getMe(){ return "me"; } function ge

[PHP] returning elements from array 1 not in array 2

2005-11-01 Thread blackwater dev
I have two different arrays. What is the function to remove all of the elements from array 1 that are not in array 2 and return them. Array_diff seems to give me that plus ones with different values, I simply want all of the ones from one array that are not in another array and want them removed

[PHP] checkng if string is a number

2005-11-17 Thread blackwater dev
How can I check to see if a string var holds a number? Is regex the only way to do this? For example I have code where the var could hold "10" or "ten". If the string is a number, do one thing, if it isn't do something else. is_int doesn't work, intval converts "ten" to a number so that doesn't

[PHP] recursive queries-tree view implementation

2005-11-18 Thread blackwater dev
I am sure others have encountered this so I am just looking for ideas. Say I have an ancestry application where the users can enter parents, children, etc. The children have children, etc. table people id parent_id what is the best way to pull this from the db minimizing the number

[PHP] array woes

2005-11-25 Thread blackwater dev
Hello all, I have some array code driving me nuts. I am pulling from a db: select id, vehicle, has_quotes from cars where active=1 I then loop through these and build an array that contains the id's and cars. while($res){ $cars[$res[id]]=$res[vehicle]; //here is the problem, when has_quotes i

[PHP] checkboxes

2005-11-29 Thread blackwater dev
I have a form where I am dynamically building a bunch of checkbox inputs. Then when submitted, I need to update the db. Problem is, of course, if the checkbox is unchecked then the $_POST doesn't have the value in the array. How can I get the value from $_POST even though it's unchecked? For ex

[PHP] how to call perl code from PHP

2005-12-29 Thread dev lamp
sion_dir = "/usr/local/lib/php/extensions/no-debug-zts-20041030/" extension=perl.so sample test code is as follows - -- Dev. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] unable to load perl extension

2005-12-29 Thread dev lamp
sion_dir = "/usr/local/lib/php/extensions/no-debug-zts-20041030/" extension=perl.so sample test code is as follows - -- Dev. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] unable to load perl extension

2005-12-29 Thread dev lamp
On 12/29/05, Jochem Maas <[EMAIL PROTECTED]> wrote: > dev lamp wrote: > > Hi > > > > I am unable to call perl code from PHP, since the extension does not > > get loaded ! > > > > Scenario 1: > > use dl('perl.so'); in the php code an

[PHP] ternary operator in heredoc string

2005-12-31 Thread dev lamp
above situation ? thanks Dev. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] unable to load perl extension

2005-12-31 Thread dev lamp
On 12/31/05, Richard Lynch <[EMAIL PROTECTED]> wrote: > On Thu, December 29, 2005 9:17 am, dev lamp wrote: > > Scenario 2: > > the perl extension does not get loaded and the PHP script crashes. > > Define "crashes"... > > Does it literally crash the PHP/

[PHP] zde users...help

2006-01-16 Thread blackwater dev
I am going to try to post this to Zend.com also, just am hoping I can get a quicker response here. I have Zend Studio 4 on my mac and just installed a few updates from apple...quicktime, itunes, safari. I then rebooted and it asked to update my key chain like normal and now when I try to open Stu

[PHP] Ajax+ PHP Map

2006-02-02 Thread blackwater dev
I have a client who wants to add some searching capabilities to their site. We want the searches to be cool so need to somehow provide a map of the state broken down by counties and allow people to search for items within that certain county. I wanted to do something cool with Ajax and PHP but real

[PHP] how to learn php

2006-02-10 Thread /dev/null
hello i have been trying to learn php. what is the best approach to learning php for someone who has no programming experience? i am very familiar with html, xhtml, and css. i'm not an idiot when it comes to using computers. i have bought several books and have subscribed to a couple of the

[PHP] php+ ajax

2006-02-20 Thread blackwater dev
Hello, I am trying to do a pre-search to let the users know how many rows will be returned before they actually hit submit. I think this is more of a js question but : I have this js function: function preSearch() { //Put the form data into a variable var min_price= document.get

RE: [PHP] A quick ereg translation

2012-08-25 Thread SagaciousDev PHP-Dev
You're correct in the fact that you've added delimiters to the pattern, however you also need to specify the "s" pattern modifier so that the search spans over multiple lines. This should do the trick: preg_match('#(.*)#is', $content, $matches); --- > Date: Sat, 25 Aug 2012 23:10:08 +0200

<    1   2