November 23, 2024, 04:14:09 AM *
Welcome, Guest. Please login or register.
News: Welcome to Talk.ws - The Official Forum for all GDI members!

If you are a new member please make sure to read the "Forum Rules, Forum Tutorials, and GDI FAQs" section.

Please avoid posting any questions which may require us to discuss detailed information regarding your GDI account. Such questions should be submitted to support@wsdomains.ws.

GDI has a strict Anti-SPAM policy. Please do NOT send unsolicited messages via Private Message.
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  .WS Services / WebSite Development / Re: Does GDI sites support PHP on: December 02, 2006, 08:55:11 AM
this is the informations about the GDI server :
www.argent-a-vie.ws/info.php

I'm sure that the sessions don't work.
When I actualize my test page, the counter doesn't increment !!!

<?php
session_start();
error_reporting(E_ALL); // to report all errors
if (!isset($_SESSION['counter']))
    $_SESSION['counter'] = 0;
echo $_SESSION['counter']++;
?>

It's very important for me to use sessions in my website

HELP ME PLEASE
2  .WS Services / WebSite Development / Re: Does GDI sites support PHP on: December 02, 2006, 06:38:12 AM
Hello. Smiley Smiley Smiley

I don't have resolved my problem but now, I know it more.
Clients can't acced to php.ini on the server.
I 'll try to see the php.ini informations with the phpinfo() function and adapt my code.

Some server use a specific directory for the session.
GDI server's does use it Huh


3  .WS Services / WebSite Development / Re: Does GDI sites support PHP on: November 29, 2006, 08:37:36 PM
This a part of my code for more comprehension :

********** index.php **********
<?php
session_start();
require_once 'tools/fonctions.php';
if(isset($_GET['id'])) {
    $id=$_GET['id'];
    $res=loadData($id);
    $_SESSION['id']=$id;
    $_SESSION['nom']=getNom($res);
    $_SESSION['prenom']=getPrenom($res);
    $_SESSION['email']=getEmail($res);
   $_SESSION['telephone']=getTelephone($res);
   $_SESSION['adresse']=getAdresse($res);
}
else {
  $_SESSION['id']='christo2006';
    $_SESSION['nom']='POPULIER';
    $_SESSION['prenom']='Christopher';
    $_SESSION['email']='contact@gdi-france.ws';
   $_SESSION['telephone']='06.77.96.09.43';
   $_SESSION['adresse']='6 avenue du Chancelier Adenauer<br>Bātiment AMERICA ONE, appartement 111<br>59370 Mons-En-Baroeul';
}
<html> [...] </html>

For example, I'use <?php echo $_SESSION['id'] ?> in html code to recover a session data

********** nosClients.php **********
<?php
session_start()
?>
<html> [...] </html>

For example, when I'use <?php echo $_SESSION['id'] ?>, it returns nothing.

I don't have php.ini file.
Must I have it Huh

This my tempory website : www.argent-a-vie.ws

Thank you for your help

4  .WS Services / WebSite Development / Re: Does GDI sites support PHP on: November 28, 2006, 10:13:04 AM
Yes. Naturally.

I use the "Hight Quality Hosting" option.
With my local server, it has no problems.
When my website is uploaded, sessions are not transmitted on my pages

5  .WS Services / WebSite Development / Re: Does GDI sites support PHP on: November 26, 2006, 01:10:29 AM
Hello. My name is Christo.
I'm french affiliate and I want devellope the GDI business in France.

But I've a problem with my website : I can't use the PHP session on my pages.

I use the function session_start() in my website but I can't recover the session data when I change page.

Must I have a php.ini on my WebSite ?
If I must have it, where I can find a default php.ini file ?
What's the email of technics support ?

I've search all the night so please help me !!!

Thanks you and excuse me for my bad english
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Copyright © 2024 by Global Domains International, Inc. · All Rights Reserved
701 Palomar Airport Road #300 · Carlsbad, CA 92011 · 760-602-3000