| |
thread by: Henrik Oddershede |
last post Jul 16 '05 by: Neil P Davis
Hi.
I am having a problem with safe_mode in PHP-4.3.2. I was running an
Apache-1.3.27 web server on solaris8 with PHP-4.3.1 with safe_mode on -
and everything was working fine. Yesterday, I upgraded to Apache-1.3.28
and PHP-4.3.2 with the same settings as before - but safe_mode was acting
strange. A script with a specific group was not...
|
thread by: Jerz |
last post Jul 16 '05 by: Jerz
Hi,
I tried upgrading my version of PHP to 4.3.2 and now all of my pages are
returning the following for nearly every variable:
Notice: Use of undefined constant sopen - assumed 'sopen' in C:\Program
Files\KeyFocus\KFWS\htdocs\obs\index.php on line 4
The 'undefined constant' 'sopen' (which is called by $_SESSION) is
obviously an index...
|
thread by: fartsniff |
last post Jul 16 '05 by: David Mackenzie
Hello all.
Can someone help out ? I found this PHP code that works just fine, however,
I am trying to put it back into its original Javascript form.
I am still learning the syntax, etc. for Javascript, so I'm not really sure
what needs
to be removed and kept.
I was trying the basic search/replaces, but always ended up with Javascript...
|
thread by: Ben Binskin |
last post Jul 16 '05 by: Jean-Baptiste Nizet
Im rather new to developing mysql/php applications and am after some advice
on handling user validation for a web based system, ive implimented a number
of ways and would like to know which way is better in regards to security
etc, here are the following ways i have implimented this in the past:
a) user submits via form login/pass, mssql db is...
|
thread by: fartsniff |
last post Jul 16 '05 by: fartsniff
Hello all.
Win2k server, PHP 4.2.3, PHPNuke 6.0, IIS.
This code works great for redirecting the user:
$redirect = getenv("HTTP_HOST");
if ($redirect=="something.mydomain.com"){
header("Location:http://www.mydomain.com/modules.php?name=something");
}
|
thread by: JPM III |
last post Jul 16 '05 by: JPM III
I wrote a PHP script that allows me to post HTML entries to files on my
server without going through FTP, yadda yadda. It works fine, and last night
it updated both files properly.
Today, it updated both files perfectly again, but only one file is showing
up on the web. I checked the HTML files in my FTP folder, and both are
updated with...
|
thread by: BKDotCom |
last post Jul 16 '05 by: BKDotCom
Perhaps not PHP specific, but:
Both http://www.bankofamerica.com/ and http://www.bankone.com/
have account login forms on their non-secure main pages.
How on earth are they accomplishing this?
Please enlighten me.
|
| |
thread by: Frank M. |
last post Jul 16 '05 by: Eto Demerzel
Hello,
I want to make a form with Macromedia Flash. I use php and mysql on my
site. Is there any good tutorial on the net how to start developing a
flash form? Most important is the data transfer between flash and php
scripts.
Thanks!
|
thread by: LuKrOz |
last post Jul 16 '05 by: Zac Hester
Someone could tell me how can I get the same result substituting
ereg with preg_match and ereg_replace with preg_replace.
$result = ereg("<\>(.+)<\>",$this->buffer,$token);
$this->buffer =
ereg_replace("<\>.+<\>","<>",$this->buffer)
;
Thanks.
|
thread by: Chas |
last post Jul 16 '05 by: Chas
Can someone help?
Looking for direction to create a script
that will strip strings that have <<SHELL: data1>>
>From this example below
*************************************************************
<html>
<title><<DB: company_name>></title>
<head><head>
<body>
|
thread by: RavenMaster |
last post Jul 16 '05 by: Zac Hester
I have a javascript form field validation script that I have used many times
with no problems. However, I just started using the script in a PHP
application that uses trans-sid for session management. Everything works
fine but when I execute the javascript function that includes the
"document.formname.submit();" statement nothing happens. ...
|
thread by: Chris Dean |
last post Jul 16 '05 by: Chris Dean
Hi I'm useing the php NUKE CMS and am designing a theme
for it. this basically consists of the the main html structure of the page
being produced line by line from php echo commands
I have a javascript menu system I want to use which is held in an external
..js file
so I try to echo out the relevent <script></script> startements to load up...
|
thread by: Andreas Paasch |
last post Jul 16 '05 by: Andreas Paasch
I've got somehow a little peculiar problem and can't seem to find the right
solution so I could use a hand/hint or two.
On toppings.php I have - among others:
<a href=\"toppingremove.php?product=$productId&top=".$top1."\">$top1</a>
which on toppingremove.php gives me, i.e.:...
|
thread by: Ralph Freshour |
last post Jul 16 '05 by: Martin Lucas-Smith
Is there a way I can get the screen resolution using PHP? I want to
set some parameters depending upon whether the user's screen is 800
wide or 1024 wide.
Thanks...
|
thread by: sentinel |
last post Jul 16 '05 by: Juha Suni
Hi,
Wonder if anyone can help with this problem:
I am using an app with several pages, using a session to track vars
between the pages, and using an image map to re-direct back and
forwards between the pages.
The way I redirect is when the image map is clicked on, it posts to a
page called 'control.php' which passes the POST vars to the
|
| |
thread by: frimi |
last post Jul 16 '05 by: frimi
Hi
I've the following problem:
Script 1 (sess2.php):
<?php
session_start();
session_register('myReg');
$myReg = "Hello";
header("Location: test.php",FALSE);
|
thread by: Alex |
last post Jul 16 '05 by: Alex
Hi,
I have a weird problem using openssl_get_privatekey. I use this
function to decrypt some records from a database. The first two get
decrypted fine, but at the third function call, openssl_get_privatekey
returns false and the script stops outputting, with this error string:
error:0407106B:rsa...
|
thread by: Kevin Thorpe |
last post Jul 16 '05 by: Kevin Thorpe
Does anyone know of a simple script for validating a list of external links?
There are portal packages out there which do this, but I just want
something simple to check links held in my database for rot. Nothing
worse than giving customers 404's to make us look like wallies.
I know it's relatively simple to use fopen() on each one but I...
|
thread by: Wm |
last post Jul 16 '05 by: Tony Marston
I'm trying to get a handle on the best way to handle setting up my listings
so that I display groups of about 25 records per page. I currently have a
page that returns over 1,000 names/addresses, which is obviously not very
efficient. Does anyone have any suggestions on the best way to approach
this, or recommendations on what pitfalls to...
|
thread by: RoundKill |
last post Jul 16 '05 by: Keith Maika
My problem is that I can't find a way of referencing files and
includes statically. I have to change each page reference so that when
it is referenced it references the correct document. As I want a
central location to keep all my most used 'includes'.
So if I change a scripts location I also have to change the script
it's self to point to...
|
thread by: Carramba |
last post Jul 16 '05 by: Jochen Daum
hoppe you can point my out where the error is.. getting message about
error...
I am just trying to get work this simple mailing list...
thanx in advance
else {
$disp="no";
$newfile = fopen($filelocation,"a+");
$add = "%".$email;
|
thread by: Thomas Mlynarczyk |
last post Jul 16 '05 by: David Walker
Hello,
I want to upload files via an HTML form and store them somewhere on my
webspace. So far so good. I am just a bit concerned about security issues
and traffic. My provider has set a file size limit of 20MB in php.ini. My
questions are:
1) If some evil web terrorist tries to upload a file which is larger than
the maximum allowed by...
|
thread by: Steven |
last post Jul 16 '05 by: Gary Petersen
All
I want to pop up a window before/during redirect to another page. Sort of a
confirmation page:
<?
....
/*
I need to pop up a window here
*/
|
| |
thread by: Carsten B. |
last post Jul 16 '05 by: Matthias Esken
Hi,
I need to add a string to a class var, but it doesn´t work though I read it
is a new feature in PHP5.
This is my code:
class Huh{
static $message;
public static function addMessage($message){
Huh::message += $message."<BR>\n";
|
thread by: Mark Hanford |
last post Jul 16 '05 by: CC Zona
I'm after a regular expression that looks through a string for a
certain code, and then replaces part of that code with some markup:
So look in this string:
this text contains (T123) a code.
And become this string
this text contains (T<a href="?a=123">T123</a>) a code.
The main problem I'm having is that my regexp replaces the whole
|