| |
thread by: drblitzkrieg |
last post Jan 23 '08 by: Blitzen
Problem: If you need to run regular php scripts under FastCGI, saving
on the overhead of fopen'ing and reading in the contents before
executing each time, in theory I guess you'd put a FastCgiServer
directive in your httpd.conf, and direct it to some sort of app (could
be written in C or anything) that loads and keeps in memory all your
php...
|
thread by: Sibine |
last post Jan 23 '08 by: tamirdoron
Hi all,
I've searched this to death but didn't find much.
Basically we have a plasma screen in our office which has to look at
about 4 different websites (bbc news etc) on a regular basis.
I wrote a nice little array which half works but doesn't load the
pages properly. Code is:
|
thread by: djchynna |
last post Jan 23 '08 by: Markus
please can somebody help me?? i want to know a simple codes of a private chatting.. i'll used it as my guide for my project.. chatting!!!
|
thread by: Maxim |
last post Jan 23 '08 by: Maxim
I use a PDO-MYSQL and executing a query like 'LOAD DATA INFILE ...'.
If I execute this query with mysql_query() I can use mysql_info() to
get info like
"String format: Records: 42 Deleted: 0 Skipped: 5 Warnings: 0."
How can I get this string using PDO-MYSQL get skipped count?
|
thread by: preetksaini |
last post Jan 23 '08 by: preetksaini
hello
can anyone help me out with pdf to html conversion error "A DRAWING ERROR OCCURRED".
thnx.
|
thread by: Gilles Ganault |
last post Jan 23 '08 by: Gilles Ganault
Hello
I need to access SQLite from PHP5 without recompiling PHP. Is there a
way to just drop the DLL (or rather, the .so file : It's Linux) and
use a special PHP function to use it?
Thank you.
|
thread by: BDthatsme |
last post Jan 23 '08 by: Daniel Klein
I can't get any of the various examples of keyboard input to work
using command line PHP.
I have Windows XP Pro SP 2 and PHP 5.1.6 (cli) (built: Aug 23 2006
16:35:53).
I can't find any info about why it doesn't work, or a way that does
work. Any suggestions?
examples of attempted variations: (and I've tried others)
|
| |
thread by: carlos.aic |
last post Jan 22 '08 by: carlos.aic
http://dcaic.com/tutoriales.html
|
thread by: carlos.aic |
last post Jan 22 '08 by: carlos.aic
http://dcaic.com/tutoriales.html
|
thread by: clickingwires |
last post Jan 22 '08 by: clickingwires
Is there some way that I can take text/ascii and convert it to an two dimensional array. Such as taking "A" and making an array like
00011000
00100100
01111110
10000001
making an "A"
|
thread by: sandeepsandeep |
last post Jan 22 '08 by: Atli
Hellow,
I am facing a serous problem when i run the php file from command line.The problem is ..
<br />
<b>Warning</b>: Module 'bcmath' already loaded in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>: Module 'curl' already loaded in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>: Module 'exif' already...
|
thread by: CDFTim |
last post Jan 22 '08 by: Atli
O.K. that was a long Title...
Can you help / show me how I would......... I am going to long windedly try to paint this picture.
Backround: I have an html page that has a marquee function in it to display a small photo and other information to scroll in a box on the web page.
The marquee's info is a table with data that I now insert manually....
|
thread by: jklivin |
last post Jan 22 '08 by: jklivin
Hi there,
I'm having trouble getting the full array of values from checkboxes on a form. They are to be sent via email. Here are portions of the code.
HTML file:
<td>
<INPUT type=checkbox value=goodFriend name=foundSiteBy>a really good friend<BR>
<INPUT type=checkbox value=Google name=foundSiteBy>Google search<BR>
<INPUT type=checkbox...
|
thread by: brechmos |
last post Jan 22 '08 by: brechmos
A bit of a dumb question. I have an array of directories and would
like to sort the array based on the third directory element...
e.g., from...
here/there/200801/everywhere
here/there/200803/everywhere2
here/there/200802/everywhere3
to...
|
thread by: runway27 |
last post Jan 22 '08 by: stepterr
hi
i have an enquiry table which collects information about users
making an online travel enquiry
the fields in the table are = StoryTitle, EndCity, mode, PricedFrom,
numAdults, numChildren, numInfants
presently the select query is
|
| |
thread by: johnwebster9865 |
last post Jan 22 '08 by: Jerry Stuckle
Hi
This may be easy to most of you, but as a newbiw; I'm struggling.
I am bringing in an include into a php file, but cant run the commands
within the include.
As an example, Within my php page I write:
{php}include("content/myinclude.php");{/php}
|
thread by: mosesdinakaran |
last post Jan 22 '08 by: AnrDaemon
Can any one explain how the rule is applied for the following Regular
expression
$Str = 'the red king';
$Pattern = '/((red|white) (king|queen))/';
preg_match($Pattern,$Str,$Val);
Result:
|
thread by: Markus |
last post Jan 22 '08 by: Markus
Ok, so i'm doing the multiple file upload thingymabob!
I'm just playing around really...
When i try to check the file type i simply get Array().
foreach ($_FILES as $_key => $_value)
{
echo $_value . " was uploaded successfully.<br />";
|
thread by: regisma |
last post Jan 22 '08 by: regisma
Hi,
I will like to use Snoopy class to check the rate and the price to ship a box with Fedex.
I have begun with this code but I cannot do domething usefull with it yet.
Can someone can assist me?
thanks
|
thread by: bob |
last post Jan 22 '08 by: AnrDaemon
I am having trouble getting the PHP PECL fileinfo component to work. I
am using Cakephp 1.2, XAMPP in WIndows Vista environment.
I have the following code:
$file = "C:\xampp\htdocs\app\webroot\pics\file.jpg";
$handle = finfo_open(FILEINFO_COMPRESS,'c:/magic');//
FILEINFO_COMPRESS,"c:/magic");
if (!$handle) {
echo "Opening fileinfo...
|
thread by: SalokinX |
last post Jan 22 '08 by: code green
Hi everyone. I am trying to make a table that when people edit something from it, it will show the date it was edited.
This is my code:
$date = date("m/d/Y");
mssql_query("INSERT INTO news2 (title, dtime, text1, text2) VALUES ('$title', $date, '$text1', '$text2')");
The thing is that when I check the table, the time is messed up. It...
|
thread by: ashish1779 |
last post Jan 22 '08 by: stepterr
hi I am new in PHP, i have face one problem when I crawl any site and i have to save the whole HTML content in database, on that time all the HTML tags are changes into the extra space in content then it is saved into DB.i want to remove that extra space from content when we have to use them .
and i am not understand what how remove that space...
|
thread by: parandwaviju |
last post Jan 22 '08 by: stepterr
Hi Friends,
I want to create subdomains dynamicaly according to username by using php script
what are the major settings should do on server.
server name=>"Apachi"
OS=>Linux.
My script make directory dinamicaly but chmod function couldnot work.
please replay
|
| |
thread by: James Mackin |
last post Jan 22 '08 by: Rik Wasmus
Hi,
I'd like to load test my site. I was thinking this would involve running
a PHP script which either performs a request, say 200 times, in parallel
or spawns scripts to do it. How would I go about doing this? If I can't
is there perhaps a bash alternative?
Thanks in advance.
|
thread by: Michele Di Benedetto |
last post Jan 22 '08 by: Michele Di Benedetto
Hello...i needed suggestions about to redirect all user requesting
something like www.mysite.it/en/page.php to www.mysite.it/uk/page.php
using an .htacces file with the following code but it doesn't work!
Can anyone help me?
file .htacces contents >>>
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
|