| |
thread by: James |
last post Sep 10 '05 by: Obvious
Is it possible to get PHP to do certain tasks at the same time? Like
grab the content of 3-4 xml files at the same time so you dont wait on
one, then retrieve the second, the third and so on? I have been asked
to code something that will require this to happen (for the sake of
runtime), and while I know I can do this using other languages...
|
thread by: buster100 |
last post Sep 10 '05 by: buster100
I am looking for an example of php code that accesses a mysql table
using SSL (php v4.3.10). I have php code on serverA and some mysql
tables on serverB (located on the other side of the internet ;-) to
serverA). I want to retrieve data in the php script on serverA using
normal selects etc over a ssl connection from serverB. Any help would...
|
thread by: Chris |
last post Sep 10 '05 by: Zoe Brown
I'm looking to create a dynamic jump menu/list menu that will enable me to navigate to a particular record by selecting a value
from the list, however the list is dynamically generated from the recordset.
Situation is:
I have a modification page for football players profiles and want to add a dynamically generated list to allow me to select...
|
thread by: Antimon |
last post Sep 10 '05 by: Colin McKinnon
Hi,
I'm working on a new web application (php5.1 + postgresql) and i wanted
to have seperated files for each class and use __autoload and i have
everything split to classes now. This makes my pages need to include a
lot of files each request. Do this a huge overhead? I mean shall i go
for gigantic function definition scripts and include all...
|
thread by: Harris Kosmidis |
last post Sep 10 '05 by: Oli Filth
Hello, I use php4.4.1 and when a user log in I use a class which stores
some info for the user. I serialize the class in a session variable.
I later on read the session var and unserializd to check for certain
user info.
When I moved the files to my host server which uses php4.3 I noticed a
strange behaviour. The first time I unserialize...
|
thread by: Juul |
last post Sep 10 '05 by: John Dunlop
Hi,
My hostingprovider just updated to PHP 4.4. Since that time I have problems
using the mail() function in PHP. I can't send headers anymore and my
provider don't know what's wrong.
Here's a sample script:
if (mail("xxx@xxx.com", "test mail", "This is a <B>test</B>!", "From:
|
thread by: David |
last post Sep 10 '05 by: Tim Roberts
Ok. Can PHP control a form value directly? Eg. like the javascript
"document.Form1.text01.value = "Y"". Eg. allow me to put a value into
a form text field on page load. Either I missed this in my PHP book
or the function does not exist.
The only way I have seen is to put code in the value part of the input
item, see below.
Thanks
|
| |
thread by: Louise GK |
last post Sep 9 '05 by: Andy Hassall
Hi there. I've written a simple program that makes a simple GET form
with a text input box and displays $_GET when submitted.
Using Windows Character Map, I pasted in the Cyrillic capital "Ya" (the
backward R) and it came out as "Я". So far so good.
Then I sent in " Я" (The is the Cyrillic character again.)
That came out as "Я Я". How...
|
thread by: David |
last post Sep 9 '05 by: Alexey Kulentsov
I have a web app that is forms intensive. These forms have a number
of dropdown lists, check box, etc., each which requires additional
processing, db calls, etc. On an item changed, I post back the form
and set a hidden field to tell PHP what changed so it knows what to
process.
Is there a preferred way to handle this type of forms...
|
thread by: jsw_nz |
last post Sep 9 '05 by: jsw_nz
Helo, my first post here....
I am trying to run an agent application that converts and imports two
tables from MS Access into mySql.
(Intelligent Converters - Access2mySql)
I have run similar scripts to do mysql dumps using the system function.
Not sure if the paths included in the parameters are correct:
<?php
function import_data() {
|
thread by: Matt |
last post Sep 9 '05 by: Matt
geez, i've done this a million times, you'd think i could get it right.
uploading to production server for a new site, and part of the head.inc
that starts everything up looks like this:
echo SMARTY_DIR."Smarty.class.php<br>";
require_once(SMARTY_DIR."Smarty.class.php");
if (substr(phpversion(),0,1) == "4") {
$smarty = new Smarty;
|
thread by: StupidScript |
last post Sep 9 '05 by: StupidScript
Hi,
I want to deliver subscripted content to users on CD. They then place
the CD into their CD drive and navigate to my site. Once logged in, I
want to be able to draw content from the CD and incorporate it with
content from my server.
I understand that access to the user's filesystem is not normal or even
allowed by default. However I...
|
thread by: elyob |
last post Sep 9 '05 by: Jamie Davison
Quite a lot of my data has apostrophes in. I'm passing the data using $_POST
and urlencode. So, for example, Joe's becomes Joe%27s.
On the next page, I urldecode and display the name in the META title. It
comes out as Joe\'s.
When I pass it once again, it becomes Joe\\\'s.
What am I doing wrong here?
|
thread by: Matthew Crouch |
last post Sep 9 '05 by: John Dunlop
Okay, I've come up with hacky workarounds every time I build an app, and
now I just need some tips on how to do this correctly and efficiently.
I usually have a head.inc and/or a constants.inc with definitions like
(SITE_ROOT,$_SERVER."/myApp);
(VERSION,"0.6.2");
(APP_ROOT, SITE_ROOT."/".VERSION);
(SMARTY_DIR, APP_ROOT . "/smarty");...
|
thread by: WhatsPHP |
last post Sep 9 '05 by: Jerry Stuckle
Hi
I have a problem with cookies on an intranet page created in PHP. All
the computers on the network except one works with cookies!! I though
it was a general cookie problem, but every other site works, this
includes hotmail and so on.. I even opened up the cookie directory and
new files are created for every site visited except the...
|
| |
thread by: Thomas Bärwinkel |
last post Sep 9 '05 by: Marcin Dobrucki
Hallo,
ich würde gerne zwei Zeitangaben im Format hh:mm:ss addieren.
z.B.: 00:01:50 + 01:02:12 = 01:03:02
gibt es in PHP Funktionen mit denen ich Zeiten in diesem Format addieren
kann?
Mit freundlichen Grüßen / with kind regards
|
thread by: weissborn |
last post Sep 9 '05 by: expertware
I have an application I have written in MS Access 2002. It is a very
basic inventory system for keeping track of information about our
Unix(solaris to be specific) servers. Other admins may want to use it
shortly and running MS Access over the WAN is no picnic. It was
suggested that I port to php and MySql. Having no experience with...
|
thread by: www.douglassdavis.com |
last post Sep 9 '05 by: Martin Lucas-Smith
I am running a Win 2000 professional machine on my desk
(unfortunately). I use Apache/PHP for test purposes, for running a
little intranet server, and I am going to have a student help me with
some coding.
Is there anything like the "nobody" id in UNIX where I can set apache
to run where it can't do too much damage?
thanks.
|
thread by: Thierry |
last post Sep 9 '05 by: Marcin Dobrucki
Hello,
Is it possible to forward to some page ?
like forward('aPage.php');
Thx, Titi
|
thread by: tom pester |
last post Sep 9 '05 by: R. Rajesh Jeba Anbiah
Hi,
Im new to php and have a background in asp. All the help is very much appreciated.
today I was using the include function in a file that itself gets included :
***************
consumer.php : <? include "inc.php" ?>
inc.php : <? include "Common/functions.php" ?>
|
thread by: David |
last post Sep 9 '05 by: otrWalter
I installed the Pear program and set the include path in php.ini to
point to the pear dir. I have a program which
<?
require_once("DB.php");
?>
This produces the error "Class 'PEAR_Error' not found in
c:\PHP\pear\PEAR\DB.php on line 868"
|
thread by: Robertico |
last post Sep 9 '05 by: Robertico
Hi,
I'd like to list all links (url's, not interested in email adresses) from a
web page (htm, html, asp, php ...).
I'am not sure if this can be done using php. So please some advice or maybe
an example.
Thanks in advance,
|
thread by: Marcus |
last post Sep 9 '05 by: Mladen Gogala
Hello all,
I am trying to figure out when it is appropriate to use shared and
exclusive locks with InnoDB. Using shared locks (lock in share mode), I
can easily create a scenario with 2 clients that deadlocks - start 2
transactions, open 2 shared locks, and both try to insert a new row
before either commits.
Using exclusive locks (for...
|
| |
thread by: leegold |
last post Sep 9 '05 by: leegold
preg_match_all( "/(EXIF_Caption_Cell (Windows XP -.*?) <pre>
(.*?)<\/pre>.*?/", $meta_str, $out, PREG_PATTERN_ORDER );
So I get two values per each string ($meta_str) loaded into the array $out.
What I really want to do capture these as $1 and $2 and concatenate them
and read that into a variable.
The code above reads it into an array -...
|
thread by: dchisolm |
last post Sep 9 '05 by: dchisolm
Apache/2.0.53 RHE3 WS
PHP 5.1.0-dev --enable-debug
libxml 2.6.20
Hey,
I decided to give the latest PHP5 a try since it's including some
updates I really need (PDO_SqLite, Soap, etc yayy) and after having to
upgrade libxml I'm getting the following warning when performing a
graceful restart with Apache.
|