| |
thread by: nerf |
last post Jul 16 '05 by: powerboy
How can I execute a javascript file(test.js) from within PHP. I'm running
oscommerce and want to insert a menu created in javascript by Sothink
DHTMLMenu. Thanks in advance
|
thread by: Ralph Freshour |
last post Jul 16 '05 by: Ralph Freshour
Is there a function that will allow my web page to pause() waiting for
a keypress and then continue rendering the page? I have a web page in
PHP that displays some data that I need to see before it calls another
..php web page.
Thanks...
|
thread by: Dariusz |
last post Jul 17 '05 by: John Thingstad
I am a beginner in PHP and MySQL, and am working through a book and various
online tutorials on PHP and MySQL and now stuck - installed everything on
"localhost" and it all works fine. My question is as follows.
I have a guestbook type code I'm trying to write, but when the results get
printed to a webpage, it outputs completely nothing as...
|
thread by: Rustam Bogubaev |
last post Jul 16 '05 by: Rustam Bogubaev
Hi,
I have RedHat 9.0 and installed by default Apache+PHP. By default XSLT
Sablotron support is not enabled, so how can I rebuild PHP with xslt
support?
I know that I can rebuild it from sources as described on
http://www.protonicdesign.com/tutorial/sablot_and_php.php, but I want
to do it without uninstalling and breaking present...
|
thread by: Steven Feil |
last post Jul 16 '05 by: Gary Petersen
Is there a way to simulate "POST mode user input" while running PHP
from the command line or in interactive mode? For example with
python, you can simulate the effects of post mode with the following
two lines
export REQUEST_METHOD=POST
echo -n 'x=y&z=t' | python myscript.py
I have tried the following, but it does not work.
|
thread by: Pneumatus® |
last post Jul 16 '05 by: Pneumatus®
I have tried to follow the instructions in the PHP manual but have been
unable to get things working properly myself. The following script works
fine for me:
<?php
/* Open the cipher */
$td = mcrypt_module_open ('rijndael-256', '', 'ofb', '');
/* Create the IV and determine the keysize length */
$iv = mcrypt_create_iv...
|
thread by: JDJones |
last post Jul 16 '05 by: JDJones
A friend just changed servers with her web site. The new server uses PHP
4.3.2 as opposed to the old server that had one of the 4.0.x's (don't
remember exactly which one). Now I know all about the register globals
change but one of the pages is suddenly throwing me an error I can't
figure out. It is not on a form. It is a script to include a...
|
| |
thread by: ConTactMe |
last post Jul 17 '05 by: ConTactMe
Is it necessary to have your file named *.php to use PHP code in it, such as
for includes? Can't any extension be used?
Thanks
|
thread by: lawrence |
last post Jul 16 '05 by: lawrence
If I do something like :
$result = mysql_query($query);
$dbArray = dbResultIntoKeyArray($result);
and this is the function:
function dbResultIntoKeyArray($result) {
|
thread by: Robert Morgan |
last post Jul 16 '05 by: Jochen Daum
Can anyone tell me whats wrong with this code? The variables are being past
from other page and the $connection is ok as is $result. this query should
return 6 rows.
the error message I get is "Warning: mysql_fetch_row(): supplied argument is
not a valid MySQL result resource in /var/www/html"
The user selects a field from a drop down then...
|
thread by: Mike |
last post Jul 17 '05 by: Mike
Hi all,
I've been trying to get imagerotate() working with PHP 4.4.3 and the
latest version of GDlib.
An error message is given saying the function is unrecognised.
Can anyone advise which configuration of PHP / GD is required to get
it to work?
Thanks!
Mike
|
thread by: Gerhard Buergmann |
last post Jul 16 '05 by: Vijay
Sometimes my mail() function returns FALSE, but there is no error message.
Error reporting is set to E_ALL.
It seems to be a problem of the bcc: line.
I use:
$headers .= "Bcc: aaaa@aaa.aa,bbbb@bbb.bb,cccc@ccc.cc\n";
I currently have approx. 30 addresses in the line.
Are there any limits?
|
thread by: John Ramsden |
last post Jul 16 '05 by: Martin Lucas-Smith
I maintain various specs and FAQs in manually edited HTML documents,
and I'd very much like some simple way of automatic section numbering
as in 2.1, 2.1.1, 2.1.2, 2.2 etc, with table of contents generation
plugged into the start of the document so that each section can be
accessed via a link (and also maybe automatic footnote numbering).
...
|
thread by: Micha |
last post Jul 17 '05 by: Micha
I'm traing to rewrite a part of code i've made in for ASP in PHP.
ASP:
If moneda = True Then
moneda = False
Else
moneda = NOT moneda
End If
This change the value of the variable from true to false and the other
|
thread by: David |
last post Jul 16 '05 by: Alex Farran
Hello, all.
I hope somebody in this group can either answer my questions or point
me in the right direction.
I write Javascript routines that do mathematical, floating point,
computations. I like Javascript because a person does not have to
download anything to their computer, and the source code is
viewable--making it easy to download...
|
| |
thread by: DragunSol |
last post Jul 16 '05 by: Joshua Ghiloni
lol guys, here it goes,
Does anyone know a free webhost wich includes the following: Ftp,
bannerless, php.
I take it so many asked before, wondering if it even excists lol
Thanks,
--
DragunSol
|
thread by: Stefan |
last post Jul 16 '05 by: Stefan
Hi,
I just downloaded PHP-4.3.3 for win32 and got the extensions folder and
dropped it intot he root of the PHP directory and set it's path in the
PHP.ini:
extension_dir = "c:/php/extensions/"
But I am still getting the error that it can't find the php_mhash.dll though
I can see that it is indeed in the folder.
|
thread by: Thomas Müller |
last post Jul 16 '05 by: Thomas Müller
Hello!
Running my uploadscript on old server, php4.1.2 ignore aborted
fileuploads.
Now, the same script on new server doesn't ignore broken uploads.
If anybody make a upload and abort this the uploaded part of file is
present on server.
I'm now running php 4.3.3 on redhat 9.
|
thread by: lawrence |
last post Jul 17 '05 by: lawrence
We're installing a new server at the office and this will be the first
server we set up from which we host our website. We got tired of
dealing with Interland and decided to bring our hosting in-house. The
guy doing most of the work struggled with sendmail for awhile and then
gave up. Now he's installing Postit, or Postfix, or whatever it's...
|
thread by: Cal Lidderdale |
last post Jul 16 '05 by: Tom Thackrey
PHP doesn't have ENUM and I'm inputting the date 14-SEP-2003 and
I want to "insert into atable values ('2003-09-14', .........==> mysql.
Anybody have a neet trick?
Tks
Chuck
|
thread by: Rob |
last post Jul 17 '05 by: Rob
Ummm...I'm a little stuck on how to approach the following....
I have a mySQL table holding images (fields are: data (blob), name (text),
type (text), size(text), desc (text) )
If I want to show the image on a page (they're all jpg's), how do I do I
implement this?
Uploading, downloading, text listing it is easy...I'm just wondering how...
|
thread by: Yang Li Ke |
last post Jul 16 '05 by: Tom Thackrey
Hi,
Id like to add 20 minutes to this :
$today = date("Y/m/d, H:i:s");
anyone can help ?
thanx a lot :)
|
thread by: williamc |
last post Jul 16 '05 by: Lothar Scholz
My first impulse was to turn it off. But maybe I'm wrong. Or is it one
of those 6 of one half a dozen of the other things?
From what I'm seeing on a search it might improve performance slightly
but with some s/w there are security issues... (We have register_globals
turned off).
General working env. is mySql, but might switch to PostGres...
|
| |
thread by: Daniel |
last post Jul 16 '05 by: MeerKat
Hi all,
I wanted a way to (http) stream Real Audio files without the need to use
..ram files. In case there are others interested in this, the following is
the solution that worked for me:
<?php
Header("Content-Type: audio/x-pn-realaudio");
echo "http://www.domain.com/audiofolder/track1.rm";
?>
|
thread by: Ziggi |
last post Jul 16 '05 by: Justin Koivisto
Hi. Is it possible to use PHP code within a javascript funtion? For
example, is the following allowed...
foo( <?php $_SERVER ?>);
function foo {
... does something with string
}
Thanks in advance.
|