| |
thread by: Ralph Freshour |
last post Jul 16 '05 by: Matthias Esken
I've been looking thru my PHP functions and can't find what I need -
is there a function that will tell me what .php file is currently
executing?
Thanks...
|
thread by: Adams-Blake Co. |
last post Jul 16 '05 by: Matthias Esken
I know that having register_globals=ON is a security risk and we have it OFF.
We want to use the GeekLog content manager and it only works with ON.
Can someone give us some coding tips on how to mitigate any possible security
problems if we turn it on? I know it has to do with a querystring that is
same as a variable name being sent in the...
|
thread by: Jason Sobell |
last post Jul 16 '05 by: Jason Sobell
Hi,
I'm trying to return the inner XML from a DOM element, but I can't find
any methods that allow this.
For example, if I have a string:
<TEXT>Here is a string with <B>bold</B> text in it</TEXT>
then I want to return the enclosed string _including_ the <B> tags:
"Here is a string with <B>bold</B> text in it"
Using get_content strips out...
|
thread by: \(a\) |
last post Jul 16 '05 by: \(a\)
I've got a cgi script that allows me to add the output of a php script to an
html page using the following line of code.
#insert : http://www.url.com/sript.php#
What I'm wondering is if someone could write me a couple of lines of code
for script.php that would randomly select one line of information from a
text file called text.txt.
...
|
thread by: Sylvain Perreault |
last post Jul 16 '05 by: Alex Farran
Hi!
I have a problem...
I did a PHP Script for a counter... and I want the counter to be displayed
on an another PHP page...
So, I can include it like that:
<?
|
thread by: point |
last post Jul 16 '05 by: Iky
Anyone knows of a good and easy program or script which generates doc file
from a phpdoc style comments????
PhpEdit has something like that but I need a standalone one...
respect....
|
thread by: Laurel Thomason |
last post Jun 24 '06 by: igtoth
I'm lazily looking for a simple app that will let us match up
teachers, classes, and instructors, preferably with a php/mysql
infrastructure so that it's accessible via the web. If there is a
single good repository of free scripts that would be useful as well.
Laurel
|
| |
thread by: Freddy |
last post Jul 16 '05 by: Freddy
I am using the script as below, but there is a problem, in Netscape, and
Mozilla Firebird, a .php is added to the filename when the user is prompted
to save, it's ok in Internet Explorer and Opera though:
$filename="/home/myUserName/filename.exe";
header("Content-Disposition: attachment; filename=filename.exe");
header("Content-Type:...
|
thread by: Keiron Waites |
last post Jul 16 '05 by: Alex Farran
Hi,
I include the following function:
<?php
function login($members_only) {
if (isset($_COOKIE)) {
$login = explode("|split|",$_COOKIE);
$login = array("username"=>$login,"password"=>$login);
}
|
thread by: william c |
last post Jul 16 '05 by: Michael W. Cocke
I don't really know PHP that well.
I'm fixing a Perl program that accesses a db after getting form input
from a PHP page. If the server-side validation fails I'd like to reload
the form with all the user's info still filled in.
I could embed the entire page in the Perl program but it seems like
there must be a better way to go. Is there a...
|
thread by: Keiron Waites |
last post Jul 16 '05 by: David Mackenzie
Can you use PHP with Tomcat?
|
thread by: Daniel Hansen |
last post Jul 16 '05 by: Daniel Hansen
I am getting a "Fatal error: Call to undefined function:
imagecreatefromjpeg() in..." error in one of my scripts, and after doing
a bit of searching on the 'net I found various messages relating to a
failure to have the GD library installed. However, my phpinfo() reports
(in the Apache GD section):
GD Support enabled
GD Version bundled...
|
thread by: Richard White |
last post Jul 16 '05 by: Richard White
I'm developing a web site, which I test first on my PC (http://localhost/...) and then upload to the
web site on the internet when ok.
I have a little bit of PHP code (in file download.php) which I use to force the Save dialogue when I
want the user to download a PDF file. The hyperlink looks like:-
...
|
thread by: Gerhard Buergmann |
last post Jul 16 '05 by: Gerhard Buergmann
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: FredBriand |
last post Jul 16 '05 by: FredBriand
Hi,
anyone knows where I could find a binary distribution of the ClibPDF
extension for PHP 4.3.3 and windows XP?
I don't have any C or CPP compiler on that pc.
thanks for your help
fred
|
| |
thread by: John Danol |
last post Jul 16 '05 by: Janwillem Borleffs
How can i check if subdomain exists?
DNS or what? And how ?
thx
|
thread by: The Plankmeister |
last post Jul 16 '05 by: system crash
Hi...
I'm trying my hardest to understand fully how sessions work and how best to
use them. However, all I can find is information that doesn't tell me
anything other than that sessions store information between pages, which I
knew already. I want to know HOW sessions work! If anybody has any good
links to material that explains sessions...
|
thread by: The Plankmeister |
last post Jul 16 '05 by: Alex Farran
Is it better coding practice to do this:
$wibble = (bool)true;
$wobble = (int)108;
or just this:
$wibble = true;
$wobble = 108;
|
thread by: vKp |
last post Jul 16 '05 by: MegaZone
Is there a current copy of the PHP manual available with user comments?
I can't seem to spot one on the doc page.
|
thread by: Paul |
last post Jul 17 '05 by: Paul
Hi,
I'm using TikiWiki and was using its file upload feature, trying to
upload a 2MB file. I get this error:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 1677706 bytes) in
/var/html/www/tiki/lib/filegals/filegallib.php on line 30
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
|
thread by: Sandman |
last post Jul 16 '05 by: Dalibor Karlovic
Hello
I have been trying to wrap my head arouns this, but I can't seem to get it to
work the way I want it to. Could someone helpful please tell me how I get this:
<function>
<name>array_push</name>
<examples>
<example>
<name>A way to do it</name>
|
thread by: Randell D. |
last post Jul 16 '05 by: Daniel Hansen
Folks,
I feel like pulling my hair out - I tried unsuccessfully over the past few
days to install ImagMagick but because of version conflicts and missing
libraries I had to give up. I originally choose ImageMagick because I've
heard so much about it.
I then decided to go with the inbuilt GD tools since I'm using PHP 4.3.3
that I compiled...
|
thread by: Stijn Goris |
last post Jul 16 '05 by: Gary Petersen
hi all,
Trying to get those cookies to work but they wont...
Doing this. Have a page login.php wich tests the user and pass. If they are
correct a cookie is set with one variable like this: setcookie
("cookieUser", $user);
then the browser is sent with header("Location: spelersPage.php"); to
another page.
I there try to read the...
|
| |
thread by: Phil Powell |
last post Jul 16 '05 by: Phil Powell
I'm not kidding, the only reason yesterday you didn't hear from me was
because I wasn't coding, but today I am doing something quick, and yes, as
always it failed.. right at the SQL statement:
$sql = 'SELECT v.nnet_produkt_varegruppe_navn, ' .
' f.nnet_produkt_farge_navn, ' .
' s.nnet_produkt_storrelse_navn, ' .
' ...
|
thread by: Bob |
last post Jul 16 '05 by: Eto Demerzel
Hi,
I have a website in a Linux/Apache shared hosting environment and have
been given access to the MySQL server running on the same machine. To
access this database from PHP, I have to call mysql_connect(host,
user, password) where the password is hardcoded into my PHP source
file in clear text.
I see two security problems with this:
|