Good Morning guys and girls
As I am rather lazy, I don't wanna do a data readout on my MySQL table in
the following way with mysql_fetch_assoc()
$data_item1=$data['xitem1'];
$data_item2=$data['yitem2];
I am trying to do the following:
I have the correct number of fields
I did some more investigating, and tracked down the problem.
Apparently, even though i was setting a separate save_path inside the
default save path the garbage collector was still picking up the
sessions in that directory.
I moved the session save_path dir to a separate location and the
sessions
I have reached the point that I have ripped the entire page out and trying
to just get an echo test to work.
The help files in phpbb are not helping/working.
Brad
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Monday, April 30, 2007 12:18 AM
To: Brad Sumrall
Cc: php-gener
Login page is located in /phpbb/login.php
New page is /login.php
A test echo page reviles NOTHING!
Login ID does not echo.
If I login @ /index.php, the echo test passes!
Brad
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Monday, April 30, 2007 12:18 AM
To: Brad Sumr
Wait, you might be on to something!
Phpbb is set to ./domain
But, on the page I find nothing related to domain
This is a new page.
Think about it as a blank .php page first.
Now, where would you point me now?
Brad
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Monday, Ap
Richard Kurth wrote:
The below script will parse a csv file to a database I need to remove
the first line because it is the header files and I don't need them. How can
I test for that and remove them.
$file = fopen($_POST['copy'], 'r') or $message .= "Could not open" .
$_POST[copy] . "fo
Brad Sumrall wrote:
The cookie domain in phpbb is already set at ./domain.com
I doubt it's set to ./domain.com
What about your session (ie NOT phpbb) ?
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
The below script will parse a csv file to a database I need to remove
the first line because it is the header files and I don't need them. How can
I test for that and remove them.
$file = fopen($_POST['copy'], 'r') or $message .= "Could not open" .
$_POST[copy] . "for reading.\n";
Nathan Wallis wrote:
Howdy.
I have an application in windows that I am running with a PHP page using
exec ("start..
I am wondering as to the efficiency of such a statement and how taxing it is
on the server. If multiple people access a page with such a statement, what
toll does it
The cookie domain in phpbb is already set at ./domain.com
??
I think I need to go back to my little hack?
Opinions?
Brad
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 29, 2007 6:45 PM
To: Brad Sumrall
Cc: [EMAIL PROTECTED]; php-general@lists.php.net
You might be hitting the nail on the head.
That is why I am trying to get crafty and look for two sessions.
But, give me a sec and follow your lead!
I am back on this project now and finishing laundry at the same time.
Thank you sir!
Brad
-Original Message-
From: Chris [mailto:[EMAIL PRO
When the page opens, connect to server (this works fine).
Look for session, if no session is found, look for phpbb session (two
different session possibilities)
Reading through the phpbb site, it say I must have the code that is in
include './phpbb/login_global.php'
Brad
-Original Message---
Hi Paul,
[comments below inline]
On 3/19/07, Paul Novitski <[EMAIL PROTECTED]> wrote:
At 3/19/2007 07:17 PM, Leonard Burton wrote:
>What my case is that I have came across a list of names that I need to
>use and all of the names were in caps. From there anything is a step
>in the right directi
On Mon, 2007-04-30 at 00:29 +0100, Stephen Hernandez wrote:
> I have literally just started using php and my sql so I really hope
> somebody can help me and I am addressing the right people as I don't
> want to be a pain in the neck. I have tested whether PHP is installed
> and running on the remot
You will have to find that information out through whoever your host is.
There is no one configuration for that.
The first question to ask is did you create a MySQL database? If you
did, then find out whatever the host was for doing that. Many times,
your host will put it at mysql.___domainnam
On 4/30/07, Stephen Hernandez <[EMAIL PROTECTED]> wrote:
I have literally just started using php and my sql so I really hope
somebody can help me and I am addressing the right people as I don't
want to be a pain in the neck. I have tested whether PHP is installed
and running on the remote web ser
I have literally just started using php and my sql so I really hope
somebody can help me and I am addressing the right people as I don't
want to be a pain in the neck. I have tested whether PHP is installed
and running on the remote web server that hosts my website and it is
running ok.
Next I want
Brad Sumrall wrote:
The cookie it's self says
PHPSESSID=26b7974a5d71c7d0bfebbf71750dac7b
Path=/
Host=www.domain.com
When I go to the jacked up page, I pickup this one
PHPSESSID=a787e077dd18ed18cb824f664d38315d
Path=/
Host=domain.com
That will be your problem. A cookie created on domain.com is
On 4/29/07, jekillen <[EMAIL PROTECTED]> wrote:
Hello again;
can someone point me to a system for cleaning
uploaded files; embedded php scripts in image
files, viruses etc, shell escape chars, anything
that would be hazardous?
The idea is when a file is uploaded, as soon
as it gets to the server
Hello again;
can someone point me to a system for cleaning
uploaded files; embedded php scripts in image
files, viruses etc, shell escape chars, anything
that would be hazardous?
The idea is when a file is uploaded, as soon
as it gets to the server it is inspected, cleaned/rejected
before it is us
where can I find the documentation about this "symbol"?
http://www.php.net/string#language.types.string.substr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The first thing that comes to my mind is to use a database to handle
session data as defined by:
http://us2.php.net/manual/en/function.session-set-save-handler.php. You
can then, when attempting to authenticate, pass the session ID back and
forth through your applications. There may be similar t
Hi, me and my fellow developer have built two applications that need to
authenticate users using LDAP, we have successfully accomplished it, but the
problem is his application is in .net and mine is in php, my php app needs
to call secure pages of .net and vice versa, now when the user is logged
o
At 9:53 AM -0500 4/29/07, Edward Vermillion wrote:
On Apr 29, 2007, at 8:03 AM, tedd wrote:
The php functions that provide data about files, do just that. They
inspect the header of the file and report what they have found. How
you use them, is your business.
Well, from the example it looks
On Sun, 2007-04-29 at 18:15 +0200, Alain Roger wrote:
> Hi,
>
> I would like to know how i can display small sized picture in my web
> application ?
> I mean in my database, picture can have max. 500 Kb, however as on 1 PHP
> page i will display 20 pictures at once, i do not want to force end user
Hi,
I would like to know how i can display small sized picture in my web
application ?
I mean in my database, picture can have max. 500 Kb, however as on 1 PHP
page i will display 20 pictures at once, i do not want to force end users to
download all 20 pictures (10Mb around) to have an overview.
Hello!
I have a MySQL database where all tables are in the latin1 character set, with
accented (Portuguese) characters.
In my php.ini I have
; Unicode settings ;
unicode.semantics = on
unicode.runtime_encoding = iso-8859-1
unicode.script_encoding = iso
On 4/29/07, Nathan Wallis <[EMAIL PROTECTED]> wrote:
Howdy.
I have an application in windows that I am running with a PHP page using
exec ("start..
I am wondering as to the efficiency of such a statement and how taxing it is
on the server. If multiple people access a page with such a
On Apr 29, 2007, at 8:03 AM, tedd wrote:
At 4:46 PM -0500 4/28/07, Edward Vermillion wrote:
On Apr 28, 2007, at 12:21 PM, tedd wrote:
At 9:22 AM -0500 4/28/07, Edward Vermillion wrote:
It should, but instead try this:
$image_size = getimagesize($filename);
echo $image_size['mime'];
$ima
At 4:46 PM -0500 4/28/07, Edward Vermillion wrote:
On Apr 28, 2007, at 12:21 PM, tedd wrote:
At 9:22 AM -0500 4/28/07, Edward Vermillion wrote:
It should, but instead try this:
$image_size = getimagesize($filename);
echo $image_size['mime'];
$image_size['mime'] ? Where did that come from?
Howdy.
I have an application in windows that I am running with a PHP page using
exec ("start..
I am wondering as to the efficiency of such a statement and how taxing it is
on the server. If multiple people access a page with such a statement, what
toll does it take on the server and i
On 4/29/07, Brad Sumrall <[EMAIL PROTECTED]> wrote:
What's the sense of above line?
isset is a function, that returns true or false.
if $SESSION=NULL
include './phpbb/login_global.php'
$show="yes";
?>
What am I missing?
Brad
32 matches
Mail list logo