2010/4/25 Michelle Konzack :
> Hi,
>
> I have a code sniplet which does not work and I do not know why:
>
> 8<--
> $isfile=shell_exec("ls /tmp/tdphp-vserver/SESSION_" .
> $_SERVER['REMOTE_ADDR'] . "_" . $_COOKIE['VSERVER_AUTHUSER
On 25 April 2010 22:14, Michelle Konzack wrote:
> Hi,
>
> I have a code sniplet which does not work and I do not know why:
>
> 8<--
> $isfile=shell_exec("ls /tmp/tdphp-vserver/SESSION_" .
> $_SERVER['REMOTE_ADDR'] . "_" . $_COOK
Oops, my apologies. That is a PHP MySQL solution. Wrong list.
Please disregard that solution.
Maybe find a way to get an error response from your session to see
what the problem is.
Karl
On Apr 25, 2010, at 3:24 PM, Karl DeSaulniers wrote:
Hi Michelle,
Maybe try adding an error catch to se
Hi Michelle,
Maybe try adding an error catch to see what you get.
if(is_file($isFile)) or die(mysql_error());
On Apr 25, 2010, at 3:14 PM, Michelle Konzack wrote:
if (is_file($isfile)) {
Karl DeSaulniers
Design Drumm
http://designdrumm.com
--
PHP General Mailing List (http://www.php.net/)
Michelle Konzack wrote:
> Now selecting "de" as prefered language is working, but if I
> select "de_DE" in Firefox, the second term "About Us" is
> something like "Ãber Uns" insteed "Über Uns" because the Website is
> UTF-8.
Indeed. I'll venture a guess and say it's because your di
On Wed, Nov 5, 2008 at 8:47 AM, Oscar Gosdinski <[EMAIL PROTECTED]> wrote:
> Name the select tag as sub_projects[], then in PHP you can read the
> $sub_project variable as an array.
Oops, my error... you have to use the $_POST['sub_projects'] variable
as an array.
--
Saludos
Oscar
--
PHP Gener
On Sat, Nov 1, 2008 at 6:20 PM, Michelle Konzack
<[EMAIL PROTECTED]> wrote:
> multiple="multiple" size="10">
> ATX 120
> ATX 60
> ATX 90
> Device 2
> Device 4
> Lowvoltage
> P4 Module
> SATA 2
> SATA 4
> SATA 8
>
>
> Hell, why is $
On 6/12/06, weetat <[EMAIL PROTECTED]> wrote:
I have a form which have tag which have the value for example
"-New York".
When use submit the form , i need to find the first occurence of "-" ,
i use strpos function as shown below :
$country = $_POST['country'];
$findme = '-';
$pos = strpos
On 12/06/06, weetat <[EMAIL PROTECTED]> wrote:
Hi all ,
I have using php 4.3.2 and mysql database.
I have a form which have tag which have the value for example
"-New York".
When use submit the form , i need to find the first occurence of "-" ,
i use strpos function as shown below :
$
Well,
I managed to part fix the problem, now I have a problem where there is a
page that all it does is redirect to another page, it wont redirect unless
I hit the refresh button.
When I go to index.php it redirects to login.php, this is an old page that
I just added a header("Location: blah);
loll wrote:
Hi,
I am not sure if this is a PHP or Apache problem, but I am hoping
someone can tellme what is wrong.
When I go to www.domain.com on my server it shows the page as text
instead of parsing the php code.
If I go to www.domain.com/index.php (same page) it runs as it should.
if I go
Hello Ahbaid,
Sunday, February 29, 2004, 6:33:45 AM, you wrote:
AG> this uses a FORM with INPUT tags, what is weird is that under IE6 some
AG> of the INPUT fields are showing up with yellow
AG> backgrounds
Sounds to me like you have the Google toolbar installed with the
AutoFill option enabl
Hey Andrew,
> First, note that that is an apache problem, not PHP.
Yep, thats why I put the "Ot" in the subject line but since you cant
have PHP
without a webserver and apache is the most popular on the list or the
net...I was
hopeing someone else had this problem and could guide me
> In htt
Vincent DUPONT wrote:
what do you mean by this :Additionally, you might want to assign the reference of the
new objects
otherwise PHP will create a new object and then make a copy of it - not
very efficient. Like so...
$this->database = & new database();
$this->accessory = & new accessory();
$this
Mark Cubitt wrote:
$this->$database = new database();
$this->$accessory = new accessory();
$this->$order = new order();
These should be...
$this->database = new database();
$this->accessory = new accessory();
$this->order = new order();
You don't wan
Matt Babineau wrote:
I found another strange problem. I am creating a mysql database
connection like this:
@ $db = mysql_pconnect(host, user, pass);
mysql_select_db(dbname);
you forgot the $ ... should be mysql_select_db($dbname);
If you had turned up your php error reporting level
(error_reporti
Curt Zirzow wrote:
Include files are expanded into the parent file as if they file is
in the file that included it.
Ah... clear as mud. heh... ;)
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
PHP|Architect: A magazine for PHP Professionals – www.phparch.com
-
"Aaron Axelsen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Yes, connect.inc.php does the following:
>
> @$connect=mysql_connect("localhost",$dbuser,$dbpass);
> if (!$connect) {
> echo "Could not connec
* Thus wrote DvDmanDT ([EMAIL PROTECTED]):
> Isn't there a known problem with variables and included files? Like you have
> to create $result in the first file, or something... Just try to have it all
> in one file... Also, change "mysql_fetch_row($result);" to
> "mysql_fetch_row($result) or print(
reliable web hosting at affordable prices?
> www.modevia.com
>
> Web Dev/Design Community/Zine
> www.developercube.com
>
>
>
> - -Original Message-
> From: Jennifer Goodie [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 29, 2003 2:46 PM
> To: Aaron Axelsen; [EMA
> The only setting contained in that table is the one im calling for,
> and its value is 25.
>
see what print_r($row) outputs, then you'll at least know what is in the
array.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The only setting contained in that table is the one im calling for,
and its value is 25.
- ---
Aaron Axelsen
AIM: AAAK2
Email: [EMAIL PROTECTED]
Want reliable web hosting at affordable prices?
www.modevia.com
Web Dev/Design Community/Zine
www.dev
IM: AAAK2
Email: [EMAIL PROTECTED]
Want reliable web hosting at affordable prices?
www.modevia.com
Web Dev/Design Community/Zine
www.developercube.com
- -Original Message-
From: Jennifer Goodie [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 2:46 PM
To: Aaron Axelsen; [EMAIL PROTECTED
[snip]
$sql = "SELECT setting from settings where name='display_rows'";
include("connect.inc.php");
print $sql;
$row = mysql_fetch_row($result);
$path = $row[0];
print $path;
[/snip]
Because $result is not being gotten properly...
$sql = "SE
> I have the following chunk of code:
>
> $sql = "SELECT setting from settings where name='display_rows'";
> include("connect.inc.php");
> print $sql;
> $row = mysql_fetch_row($result);
> $path = $row[0];
> print $path;
>
> It always prints out "1"
>
> But if I r
Hello,
This is a reply to an e-mail that you wrote on Tue, 29 Jul 2003 at
20:40, lines prefixed by '>' were originally written by you.
> I have the following chunk of code:
> $sql = "SELECT setting from settings where
name='display_rows'";
> include("connect.inc.php");
> print $s
On Tue, 27 Feb 2001 05:53, Steve Segarra wrote:
> Hi everyone,
> First, let me explain I am a very knowledgable php developer. I'm not
> someone trying to write their first script. I have been working on a
> very large and complex problem for some time now when it suddenly
> stopped workin
27 matches
Mail list logo