hi there, i had asked this one a while ago but no replies. I am having
this issue calling session_destroy on a non cookie session before
creating a cookie based one. Here is the code
@session_destroy();
ini_set('session.use_cookies', 1);
session_name('thename');
session_cache_limiter('no_cache
hello friends,
i have a query in writng the content of one file to another.
i attempted it.
it only writes the html codings.it could not write the php scripts inside the
file.
i use the following code to accomplish my problem...
##
hello friends,
i have a query in writng the content of one file to another.
i attempted it.
it only writes the html codings.it could not write the php scripts inside the
file.
i use the following code to accomplish my problem...
##
On Tuesday 04 October 2005 08:15 pm, John Taylor-Johnston wrote:
> Any idea why I'm getting this error, and only on this page? I have the
> same header on every other page?
> http://testesp.flsh.usherb.ca/thingstodo.html
> The page contains a \n before I start my
> session_name( 'CCLTrolley' );
>
John Taylor-Johnston wrote:
I ended up going with this. Wasn't sure how to use list anyhow. Look good?
$sql = 'SELECT * FROM '.$table.' ORDER BY RNum;';
echo "";
$news = mysql_query($sql);
while ($mydata = mysql_fetch_object($news))
{
foreach ($_SESSION['TrolleyContents'] as $value)
if
Robert Cummings wrote:
On Mon, 2005-10-03 at 18:08, John Taylor-Johnston wrote:
>Use "foreach" to traverse the array and display each trolly entry nicely
If list() works for you it's fine. I don't really use it so not entirely
sure of it's functionality with respect to looping.
I
Michael Crute wrote:
The page contains a \n before I start my That \n is it. You can't send ANYTHING to the browser before you send
the headers and cookies are part of the headers. Take out the \n and
all should be well.
Thanks. Dreamweaver screwed me over ;)
John Taylor-Johnston wrote:
Any idea why I'm getting this error, and only on this page? I have the
same header on every other page?
http://testesp.flsh.usherb.ca/thingstodo.html
The page contains a \n before I start my
Most likely, yes. Why didn't you try removing it before posting to the list
Any idea why I'm getting this error, and only on this page? I have the
same header on every other page?
http://testesp.flsh.usherb.ca/thingstodo.html
The page contains a \n before I start my
Warning: Cannot send session cookie - headers already sent by (output
started at /var/www/html2/thingst
I would like to see it in action, please.
Thanks.
--
Anas
On 10/4/05, Silvio Porcellana <[EMAIL PROTECTED]> wrote:
>
> Murray @ PlanetThoughtful wrote:
> >
> > Out of curiosity, does anyone know if it's possible to tell whether an
> > individual session is still alive from PHP? I don't mean from
Murray @ PlanetThoughtful wrote:
>
> Out of curiosity, does anyone know if it's possible to tell whether an
> individual session is still alive from PHP? I don't mean from within
> code being run for a particular user, but in code that, for example,
> might be executed by a cron job, which would e
Thanks for your reply, Jasper.
auto_append_file has been my first "alternative" approach too and so far
it seems to be the best option available. But the show-stopper to me is
that if you exit() out of your script, the file won't be appended.
I did write some sort of wrapper function to first
On Tue, 4 Oct 2005 15:50:06 -0400, wrote:
>Nope.. you're pretty much stuck using Javascript or processing it all on the
>back end with PHP as you described. You could store the data in a database or
>a $_SESSION variable but without using something client-side, you're going to
>have to juggle
I'm running FreeBSD 5.4-STABLE with PHP 5.05 (I can also reproduce
this with the same version on 7-CURRENT) and something in the soap
module is causing php/apache to sig11.
I'm using the soap module to connect to MapPoint to retrieve location
coordinates. This problem doesn't happen wit
oops, sorry about the lack of any code with my last problem message.
I am still having the same buffer problem where after asking for a
password, it doesn't stop and wait, just falling through to the next
prompt. here is basically what the new_user function looks like. I am
using php 4.3.10 o
Nope.. you're pretty much stuck using Javascript or processing it all on the
back end with PHP as you described. You could store the data in a database or
a $_SESSION variable but without using something client-side, you're going to
have to juggle it all with PHP.
-TG
= = = Original message
Has anyone been to good PHP and/or LAMP training?
I was looking around and saw on a blog where they
really liked the security aspects of this one:
http://www.sans.org/ns2005/description.php?tid=249
Has anyone been to classes by sans.org?
Thanks,
Peter
__
Free 3000MB
Hi,
I'd like to have a non-Javascript based general purpose "Are you quite Sure?"
PHP form submitter,
conventionally done using the Javascript Onsubmit Event.
One way would be to store all the Form Variables in hidden fields generated by
a foreach $_POST
but anyone have anything simpler?
--
I don't know if this will help you.
I use an openlink ODBC driver to connect to Progress via PHP like so:
$dbconn =
odbc_connect("MyDB_ODBC",$username,$password,SQL_CUR_USE_ODBC);
$strQry = "SELECT * FROM mytable WHERE mytable.field = ".$somevar;
$rsTable = odbc_do($dbconn, $strQry);
cybermalandro cybermalandro wrote:
Thanks for your prompt response! Are you using the pear DB class
requiring odbc? I am not very familiar with this class and pear. I was
trying to do it the old way. Perhaps you can give me some more
examples? I really appreciate your help.
Thanks
On 10/4/
On Mon, 2005-10-03 at 18:08, John Taylor-Johnston wrote:
> >Use "foreach" to traverse the array and display each trolly entry nicely
>
> This might be cleaner? I'm not sure if I'm using while and list right,
> but somehting like that?
>
> $glquery = mysql_query($sql);
> while ($mydata = mysql_f
You have to echo a single image and only the image(no html tags) as binary
for this to work. One must also set the header from the page to the correct
mime type for the image work.
ex:
Page: displayImg.php
header('Content-Type: image/jpeg'); // set correct header, more info
on:http://us2.php.ne
you cant just mix html tags and image data and expect them to be on
the same page to get both html and images displayed.
if you want image, use a tag, whose SRC attribute maybe a php
file, and this php file will output _only_ image data, i.e.
echo $obj->photo;
nothing more, except if you want t
cybermalandro cybermalandro wrote:
I am connecting to a PROGRESS DB through the MERANT ODBC driver, When I have
the 4th parameter SQL_CUR_USE_ODBC as shown, my queries return nothing but
if I have the 4th parameter as lower case it returns my query results but
with a PHP error complainning
*Noti
[snip]
> On 10/4/05, blackwater dev <[EMAIL PROTECTED]> wrote:
> > I am querying a MSSQL db where an jpg image is stored as a blog.
> > But when viewed I just get all the junk code:
> >
> > !1AQaq"2B'¡±Á #3RðbrÑ
> >
$4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š'""•–—˜™š
It doesn't appear that gd is installed by my host as that function
throws undefined function errors and I don't see gd when I do
phpinfo();
On 10/4/05, Michael Crute <[EMAIL PROTECTED]> wrote:
> On 10/4/05, blackwater dev <[EMAIL PROTECTED]> wrote:
> > I am querying a MSSQL db where an jpg image i
Sorry, meant BLOB, not blog.
On 10/4/05, blackwater dev <[EMAIL PROTECTED]> wrote:
> I am querying a MSSQL db where an jpg image is stored as a blog.
>
> I have this code:
>
>
>
>
>
>
> //Do the query
> include_once("../includes.list.php");
> $ms_sql= new ms_db();
> $my_sql=new Database(
did u set up a firewall?
maybe you want change the rule to let packets from port 119 go through.
or try add a new news account.
Good luck!
On 10/5/05, Dan Baker <[EMAIL PROTECTED]> wrote:
> "Kevin Cloutier" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hi,
> >
> > I'm new to t
I am querying a MSSQL db where an jpg image is stored as a blog.
I have this code:
query($query);
while($obj = $ms_sql->objects('',$data)){
echo $obj->photo;
}
$data=$ms_sql->disconnect();
?>
But when viewed I just get all the junk code:
!1AQaq"2B'¡±Á #3RðbrÑ
$4á%ñ
I am connecting to a PROGRESS DB through the MERANT ODBC driver, When I have
the 4th parameter SQL_CUR_USE_ODBC as shown, my queries return nothing but
if I have the 4th parameter as lower case it returns my query results but
with a PHP error complainning
*Notice*: Use of undefined constant sql_cur
Michael Crute wrote:
>Hi All,
>
>I am in the process of looking for a webhost for the company I work
>for. I must have PHP5 support as the CMS I am using only supports
>PHP5. Does anyone know of any good quality hosts that also support
>PHP5 and MySQL for less than $40/mo? Dedicated hosting is rig
On 10/4/05, Michael Crute <[EMAIL PROTECTED]> wrote:
> I am in the process of looking for a webhost for the company I work
> for. I must have PHP5 support as the CMS I am using only supports
> PHP5. Does anyone know of any good quality hosts that also support
> PHP5 and MySQL for less than $40/mo?
Hi All,
I am in the process of looking for a webhost for the company I work
for. I must have PHP5 support as the CMS I am using only supports
PHP5. Does anyone know of any good quality hosts that also support
PHP5 and MySQL for less than $40/mo? Dedicated hosting is right out as
we obviously don't
Erik Barba wrote:
>hi im new in the list i dont know where to write the email so i did it here,
>i am having a problem
> I have a xml file and im parsing with domit 1.0 but im from mexico, and we
>use " é í ó ú á ñ "
>the xml acept it but when the php show the code in html, i cant see the
>letters
"Kevin Cloutier" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I'm new to this newsgroup and I'm psyched I found it. But, my newsreader
> (Thunderbird), keeps returning a "Connection to server news.php... has
> timed out" when ever I try to dload or refresh the messages.
could you imagine that somebody who has never seen your code,
has no idea how it is put together or even what platform it
requires (php4/php5?) might not have clue what your on about?
matt VanDeWalle wrote:
hello again
I was writing and rewriting my user function for my chat server trying
to c
I believe you're right, they used to include it with PHP. I believe the PEAR
docs even say something about it being included. Maybe they don't anymore so
you have to go to the PEAR site to get the latest installer. That way they
don't get people using an older installer/package manager that m
[EMAIL PROTECTED] wrote:
Admittedly I've only dealt with PEAR a little bit, but the two times I
installed it, it didn't seem to involve any 'executable'. PEAR appears to be
totally PHP script based.
I dont mean to give an "RTFM" type response here, but if you follow the
instructions at the
On Tuesday 04 October 2005 12:42 am, Erik Barba wrote:
> hi im new in the list i dont know where to write the email so i did it
> here, i am having a problem
> I have a xml file and im parsing with domit 1.0 but im from mexico, and we
> use " é í ó ú á ñ "
> the xml acept it but when the php show
Quoting Skippy <[EMAIL PROTECTED]>:
> How can I disable auto-commit for a Postgres connection? Apparently
> server-side autocommit was thrown out in Postgres 8.0, and clients have to
> issue their own setting (which is sensible).
Apparently this will work (or at least it will be accepted by pg_con
Hello,
I've been installing php-4.4.0 and php-5.0.5, and it both cases I can't find
the "pear" executable in the install directory. For instance:
# ls /usr/local/php-5.0.5/bin/
php php-config phpize
IIRC, pear executable (ie. the package manager) used to be bundled with PHP.
In fact, I think a
How can I disable auto-commit for a Postgres connection? Apparently
server-side autocommit was thrown out in Postgres 8.0, and clients have to
issue their own setting (which is sensible).
The default is on (which I don't want). psql is apparently able to set or
unset the AUTOCOMMIT option, but I f
Your document is attached.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
43 matches
Mail list logo