In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> IM not ranting, IM pointing out that I have looked on the website and the
> FAQ is a joke and help from other sources is either buy something or as the
> case of IRC, no channel of that description was turned up in the search.
Somewher
Hello,
Your message does not contain enough information for us to help you.
Guessing in the dark i can tell you that you are not using the correct
encodings for your message. It's not really a good idea to use the
mail() function for html mail, there are plenty of mail classes out
there that ca
:-) cool thank you!
is any "$_"-variable superglobal? $_REQUEST, $_POST, ...?
cheers,
jazper
"Curt Zirzow" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> * Thus wrote Juerg Zgraggen ([EMAIL PROTECTED]):
> > Probably i got the problem... but i don't know how to solve it!!!
If php knows about replication, it can balance the select querys on the different
servers...
-Ursprüngliche Nachricht-
Von: Curt Zirzow [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 1. September 2003 19:30
An: [EMAIL PROTECTED]
Betreff: Re: [PHP] php 5 - mysql replication
* Thus wrote
print $buildingPath . '';
if (opendir($buildingPath) == false)
if (!mkdir($buildingPath))
print 'false ';
A print("false $buildingPath") might yield as to why it isn't
creating it.
I already di
On Monday, September 1, 2003, at 03:41 PM, Curt Zirzow wrote:
print $buildingPath . '';
if (opendir($buildingPath) == false)
if (!mkdir($buildingPath))
print 'false ';
A print("false $buildin
On Tuesday 02 September 2003 08:17, Daniel Bray wrote:
> So then the total code would be:
>
>$mysqlconnect = mysql_connect("localhost", "mysqladmin",
> "i.hate.microsoft"); $result = mysql_list_tables("Bookmarks");
>
> $n = mysql_num_rows($result);
> $seek = mt_rand(0, $n-1);
>
Hi Kjell
I'm not sure whether you are transferring from within the webserver, or from
the webserver to MS locally, but either way I'd set up the MS database
locally. Just install the MySQL ODBC driver (I think its at the mysql.com
website) and link all the MySQL tables to your MS Access database
Hi all,
I am trying to solve a problem related to mail( ). I am not
sure whether it is from SMTP directly or html tags used for html form mail.
I got the following message, and has anyone seen this before?
*
This email is being returned to y
* Thus wrote Juerg Zgraggen ([EMAIL PROTECTED]):
> Probably i got the problem... but i don't know how to solve it!!!
>
> i include one of my class.
> in the constructor of this class i did a global...
> global $_SESSION;
>
> as soon as i delete that line. my script works perfect...
>
> is this n
* Thus wrote Juerg Zgraggen ([EMAIL PROTECTED]):
> now my problem: i wrote in my navigation-frame this code:
> if( !isset($_SESSION['testint'] ) )
>{
>$_SESSION['testint'] = 1;
>}
> $_SESSION['testint']++;
> print_r($_SESSION);
> ?>
>
> after the print_r() i can see my
Probably i got the problem... but i don't know how to solve it!!!
i include one of my class.
in the constructor of this class i did a global...
global $_SESSION;
as soon as i delete that line. my script works perfect...
is this not allowed anymore... to access $_SESSION in a constructor??
regar
* Thus wrote Daniel Bray ([EMAIL PROTECTED]):
> Ok, I have looked through the archives on both MySQL and PHP's lists, but
> I have not seen this asked or mentioned. Weird, I thought this would be a
> common thing. Is there a better way to randomly select a table from a
> database, than what I hav
hi
got a big session-problem and i have no idea what i'm doing wrong...
i have quite a big web-app and i tried to upgrade the code.
ex: $frm_id to$_POST['frm_id']
and$HTTP_SESSION_VAR['myId'] to $_SESSION['myId']
... ect...
i changed the register_globals = Off in the php.ini
* Thus wrote Seth Willits ([EMAIL PROTECTED]):
>$path = "path/path2/path3/path4/path5";
> $buildingPath = "existingFolder";
> $pathComponents = split("/", $path);
>
>
> foreach ($pathComponents as $value) {
> $buildingPath = $buildingPath . "/" . $val
Ok, I have looked through the archives on both MySQL and PHP's lists, but
I have not seen this asked or mentioned. Weird, I thought this would be a
common thing. Is there a better way to randomly select a table from a
database, than what I have come up with:
Here is a random table: " .
$table_a
Ok. But if I have an instance... Is there a way to find all its class
parents ?
Cristiano
"Catalin Trifu" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> Hi,
>
> If I'm not mistaking here, you can not find the parent(s)
> of a class without an instance and it is qui
I figured out the permissions issue to allow gd to create image files,
but I also need to create folders for those images. I've come up with a
routine (below) but it fails to create the directories. I've made sure
that the directory that the first directory is created in has the
appropriate
This may not be the best place to ask this question, but I'm running into a
problem when I perform a left join sql statement in PHP. The sql statement
is as follows:
SELECT p.id
pid,p.designID,p.project_name,p.node,p.received,p.lots,p.ugfootage,p.aerialf
ootage,p.node,c.* FROM projects as p LEFT
Hello,
Try webalizer... You must setup custom log format in httpd.conf to log
virtual hosts and properly configure webalizer.
Regards
Desi Petrovic
Mediate s.r.o.
system administrator
Binay Agarwal wrote:
Hi All,
I need to track the bandwidth usage of the different sites hosted on a server. Ho
Thanks for all your help, but I ma still no closer to finding the problem.
I'll try decomiling the whole application, and rewriting it, see it that
works.
If anyone has a brainwave in the meantime, any further help would be greatly
appreciated.
Thanks,
Adam Bishop
P.S. I have replaced the break
Hi,
http://de.php.net/manual/en/language.references.php
Cheers,
Catalin
"Jswalter" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> this difference bewteen A and B below?
>
> A)$a = &new className(true, 6);
>
> B)$a = new className(true, 6); /* missing & on the N
this difference bewteen A and B below?
A)$a = &new className(true, 6);
B)$a = new className(true, 6); /* missing & on the NEW */
thanks
walter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I offer Linux support and security services for your systems. I provide
support for installation and configuration of dedicated webservers,
remote administration and System services on Linux platforms, including:
- remote Server maintenance
- Network/system security
- Secure chrooted Apache
- Tu
add this in the 1st line of the body of the function:
global $shs_MySQLServer;
global $shs_MySQLUser;
global $shs_MySQLPassword;
On Mon, 2003-09-01 at 14:20, Seth Willits wrote:
> If I try to connect to a database within a function, I get the
> following error. Why is this?
>
>
> MySQL Connec
* Thus wrote Niels Uhlendorf ([EMAIL PROTECTED]):
> Hi,
>
> Although this seemed to be an easy prob I couldn't solve it in all the
> time.
>
> I have a function and a string i want to be replaced. I use preg_replace
> and get a var out. Now I want this var in the function but I don't know
> ho
If this is causing all forms to need to be submitted twice, I would be
suspect of the include files that were found in all the forms documents and
start my debugging process from there.
just cursory glance tells me I would like to see the include files. before I
could say that it was one thing or
312 lines is a lot of stuff to filter through, you should really
isolate your problem.
* Thus wrote Adam Bishop ([EMAIL PROTECTED]):
> Sample 'A'
>
> switch (@$do)
> {
> case "process":
You should indent, it makes the code more readable.
> session_start();
> session_register('Sauth');
> ses
Hi,
Although this seemed to be an easy prob I couldn't solve it in all the
time.
I have a function and a string i want to be replaced. I use preg_replace
and get a var out. Now I want this var in the function but I don't know
how I can get it in:
preg_replace("#\[\+\+(.*)\+\+\]#Uis",my_functi
On Monday, September 1, 2003, at 11:33 AM, Mike Morton wrote:
You need to read up on the scope of variables within functions.
Ohh, I didn't even think of that. Thanks.
Seth Willits
---
President and Head Developer of Freak
You need to read up on the scope of variables within functions.
You should have something like:
function
getUserPermissions($shs_MySQLServer,$shsMySQLUser,$shs_MySQLPassword) {
if ($_SESSION['permissions'] == '') {
// Connecting, selecting database
$link = mysql_connect($shs_MySQLServer, $shs
* Thus wrote Seth Willits ([EMAIL PROTECTED]):
> If I try to connect to a database within a function, I get the
> following error. Why is this?
>
>
> MySQL Connect Error : Can't connect to local MySQL server through
> socket '/Private/tmp/mysql.sock' (2)
>
> function getUserPermissions() {
>
On Monday, September 1, 2003, at 10:32 AM, Mike Capps wrote:
Nothing seems to work. I have try every thing. At least all of the
obvious like pos(array) or $element = current($array) .
What I am trying to do :
Is to ask questions (the problem I am having, display only one at a
time)
get answ
If I try to connect to a database within a function, I get the
following error. Why is this?
MySQL Connect Error : Can't connect to local MySQL server through
socket '/Private/tmp/mysql.sock' (2)
function getUserPermissions() {
if ($_SESSION['permissions'] == '') {
// Connecting, selecting
Okay, this is a tricky one (i think so, anyway!), and rather long but plase
help me! I don't expect you to spend hours looking at the problem, but any insight is
appreciated.
I am (trying) to create a members only website. However, I am having a spot of
bother. It all works perfectly
Nothing seems to work. I have try every thing. At least all of the obvious like
pos(array) or $element = current($array) .
What I am trying to do :
Is to ask questions (the problem I am having, display only one at a time)
get answer by using a check box
move and display next question (part of th
* Thus wrote Moritz Steiner ([EMAIL PROTECTED]):
> I've heard that php 5 is going to support mysql replication, has anyone
> more details about it, it is already working in the beta release?
Can you enlighten me as to what special things php needs to do
replication?
Curt
--
"I used to think I wa
* Thus wrote Mark Walker ([EMAIL PROTECTED]):
> Hi
>
> I'm using backticks to run a program (actually isoinfo), and then present
> the information to the users of my site.
>
> Everything is fine *most* of the time. I have one .iso file whose contents
> end up as around a 9Meg file to be presente
* Thus wrote Merlin ([EMAIL PROTECTED]):
> Hi there,
Hello merlin.
>
> I have included a imagecreatefromgif() into my code which runns pretty
> fine on my testsystem 4.3.3
>
> Now I uploaded it to the live system where an older version is running
> and is build with GD2.0.1. This is causing an
Diana
I'm pretty sure that if you use:
ini_set("session.cookie_domain","interhotel.com");
(i.e. no dot before the domain) then that should work
tommy
"Diana Castillo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> I am using
> ini_set("session.cookie_domain",".interhotel.com"
I've heard that php 5 is going to support mysql replication, has anyone
more details about it, it is already working in the beta release?
Moritz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
John Taylor-Johnston wrote:
$StudentId = "weather.htm9995";
if (!isset($_COOKIE["weather.htm$StudentId"]))
if(!isset($_COOKIE[$StudentID]))
{
echo "Cookie not found, not reading weather.htm$StudentId";
echo "\$_COOKIE[\"weather.htm$StudentId\"]".
$_COOKIE["weather.htm$StudentId"]."-";
}else{
I am using
ini_set("session.cookie_domain",".interhotel.com");
so that session variables wont get lost between a domain called
www.interhotel.com
and res.interhotel.com but they still get lost !
does this function work perfectly, or am I doign something wrong?
--
PHP General Mailing List (http
Hi
I'm using backticks to run a program (actually isoinfo), and then present
the information to the users of my site.
Everything is fine *most* of the time. I have one .iso file whose contents
end up as around a 9Meg file to be presented to the user. PHP just
segfaults. No error, nothing, the
You will need the header files as well. I belive you are using the
washignton uni. imap system. why don't you download a new tarball?
all the best
Merlin wrote:
oh... thanx. There is a c-client.a on the system.
Is it possible just to add '--with-lmap=/home/sw/c-client.a' and it
will work?
Me
oh... thanx. There is a c-client.a on the system.
Is it possible just to add '--with-lmap=/home/sw/c-client.a' and it will
work?
Merlin
Raditha Dissanayake wrote:
There are two magical commands on linux called 'locate' and 'find' :-)
if you have locate just type
locate c-client or some filen
There are two magical commands on linux called 'locate' and 'find' :-)
if you have locate just type
locate c-client or some filename associated with the imap lib.
find is more complicated you could try something like
find / -name 'c-client*' | more
the above will search your whole hard disk so
Hi there,
I have included a imagecreatefromgif() into my code which runns pretty
fine on my testsystem 4.3.3
Now I uploaded it to the live system where an older version is running
and is build with GD2.0.1. This is causing an error. Is this function
not included inside the gd version?
Thanx,
php-general Digest 1 Sep 2003 12:12:22 - Issue 2271
Topics (messages 161327 through 161359):
Re: Simple File Error
161327 by: Seth Willits
161329 by: Catalin Trifu
161341 by: Seth Willits
Re: Foring a file download *and* page reload
161328 by: Jean-Christian
Hi there,
I would like to upgrade to the latest php version.
My old version was build with imap a year ago. Now I found, that the
directory which contained the imap files:
'--with-imap=/home/sw/horde/imap-2002.RC2' '
does not longer exist. So I guess I have to rebuild the c-client library?
Is th
Oeps, sent twice...
Sorry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I want to share data between two frames. My object should be a php script
(if possible).
The object should know (using a session variable) which id is currently
displayed in each frame.
This way, the object can decide if the frame should be refreshed or not,
because it knows what ID alread
Hi all,
I want to share data between two frames. My object should be a php script
(if possible).
The object should know (using a session variable) which id is currently
displayed in each frame.
This way, the object can decide if the frame should be refreshed or not,
because it knows what ID alread
On Monday 01 September 2003 15:54, Mohamed S. wrote:
> I'm have a strange problem. I've encoutered a few before, but nothing like
> this:
>
> New machine with php4.2.2 on RedHat with Apache2.0
>
> All my forms use POST method. But I noticed that some scripts when i submit
> the form, i get wierd da
Hi,
JavaScript reload() function.
If you have wrote in message
news:[EMAIL PROTECTED]
> Hi all,
>
> I have 3 frames:
> Top, Menu (menu.php?menuid=x) and Content ( Content.php?[ table=y |
> article=z])
>
> Menu.php displays a menu, and the selected item=x
> Content.php displays eit
Check out session.cookie_lifetime ..
if lifetime =0 then session should disappear once you close the browser else it will
stay the time specified in lifetime options.
Hope this helps and let me know.
Binay
"Diana Castillo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> I am havi
This may be a curl question, but it may not
I have a script through which I'm trying to push all images. The push
happens using mod_rewrite:
RewriteRule ^/(.+\.(gif|jpg|jpeg|png))(\?.*)?\$ /inc/script.php?f=$1 [NC,L,PT]
Oddly, when hitting the script from a command line, I get different
r
Hi,
If I'm not mistaking here, you can not find the parent(s)
of a class without an instance and it is quite logical.
Since PHP is not a compiled language, the parent
is available only at runtime.
Cheers,
Catalin
"Cristiano Duarte" <[EMAIL PROTECTED]> wrote in message
news:[EMA
I am having a weird problem, when I close all my browser windows and restart
my application, the session variable which I set comes back suddenly, but
only when I call a certain class .
As far as I know the session variables should disappear when I close the
browser. Why would they suddenly come b
Hi all,
I have 3 frames:
Top, Menu (menu.php?menuid=x) and Content ( Content.php?[ table=y |
article=z])
Menu.php displays a menu, and the selected item=x
Content.php displays either a mysql table or an article.
Now I don't want to refresh the menu frame when the topic is the same for
another ar
Hi,
I have been using PHP for some time now and I, for one,
never had such problems. I'm pretty sure the problem is elsewhere.
For instance, when creating the HTML form, you have to make
sure everything is quoted perfectly:
And then in PHP, you have to quote
Hi All,
I need to track the bandwidth usage of the different sites hosted on a server. How can
i achieve this using PHP,Apache,mysql under Linux environment.
Please suggest me as it is urgently needed by client.
Thanks
Binay
Hi,
Thanks for the response, I'll try to explain better:
I have 2 frames: a Menu and a Content frame.
I have 2 menu's: one for support and one for sales
If the content frame displays a support article, the support menu should be
displayed.
If the content frame displays a sales article, the sale
I'm have a strange problem. I've encoutered a few before, but nothing like
this:
New machine with php4.2.2 on RedHat with Apache2.0
All my forms use POST method. But I noticed that some scripts when i submit
the form, i get wierd data.
For example:
say i have
then what i will get for $example
At 2003-09-01 00:49 -0400, John Taylor-Johnston wrote:
>I create this cookie, using Javascript::
>
>testals.flsh.usherb.ca FALSE / FALSE 1062433227 weather.htm9995 1
>
>If the browser is reloaded, I want php to read the cookie and do my else statement.
>Even after a browser shut-down and restar
Hi,
It's not very clear from your message what you are trying to do. If you
are trying to just reload some of the frames instead of the whole
frameset look at the 'target' attribute for 'A' element in html.
Ronald van Raaphorst wrote:
Hi all,
I have header, a menu and a content frame.
The head
Hi all,
I have header, a menu and a content frame.
The header should not be refreshed.
The menu dislays a menu (menu.php?menuid=x) from a mysql menu database, and
should be refreshed based on a condition.
The content frame (content.php?[article=x | table=y]) displays either an
article or some dat
On Sunday, August 31, 2003, at 05:01 PM, Catalin Trifu wrote:
Hi,
The user root is the which starts the main apache process,
the others are the actual servers spawn by the first one. So
the user under which apache runs is www.
This means that you need to grand write access to those
d
On Sun, Aug 31, 2003 at 02:38:45PM +0300, Paul Marinas wrote:
Hi all,
Thanks to all of you that answered
That was nice and will get me started.
regards
Metta
> try http://www.php.net/download-docs.php
> u have a link there for diferent languages
--
A saying of the Buddha from http://metta.lk/
I create this cookie, using Javascript::
testals.flsh.usherb.ca FALSE / FALSE 1062433227 weather.htm9995 1
If the browser is reloaded, I want php to read the cookie and do my else statement.
Even after a browser shut-down and restart, I cannot get PHP to read the cookie (first
part of my if
I think this is at the point where you might need to cut your losses,
and look for a good, lightweight WYSIWYG editor application for OS9
(free/share ware) that you can load on their systems... they can simply
cut-and-paste from the textarea to their editor and back.
This way the OS X (OSX has
> The client is using OS9
> and OSX so I need to find something that works with both. It's looking
> like Java at this moment in time.
You will need to be aware -- Java on Mac OS 9 is somewhat limited. Look
up MRJ on Apple's tech pages. You will definitely want to test
separately on Mac OS 9 and
--- John Taylor-Johnston <[EMAIL PROTECTED]> wrote:
> if (!isset($_COOKIE["weather_htm".$StudentId]))
$_COOKIE["weather_htm$StudentId"]
Hope that helps.
Chris
=
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/
--
PHP General Mailing List (http://ww
I think i know what you mean, when you are using a sub class and you want
to use functions of a base class i find i have to do this to make it work
in the sub class constructor
parent::HTTP_Register;
> I want to iterate through parents of some class.
> The function get_parent_class is not enough
I want to iterate through parents of some class.
The function get_parent_class is not enough since it retrieves only the
first parent of an instance.
Is there a way to retrieve the parents of a class without having an instance
of this class ? And if I have an instance, can I retrieve all parent
cla
Sorry, hit sent by accident :)
I have a cookie:
if (!isset($_COOKIE["weather_htm"]))
But I want the name of the cookie to include $StudentId like this:
if (!isset($_COOKIE["weather_htm".$StudentId]))
Of course, the line does not read the cookie.
What is the problem with my syntax please?
Joh
--
John Taylor-Johnston
-
"If it's not open-source, it's Murphy's Law."
' ' ' Collège de Sherbrooke:
ô¿ô http://www.collegesherbrooke.qc.ca/languesmodernes/
- Université de Sherbrooke:
http://comp
Hi,
The user root is the which starts the main apache process,
the others are the actual servers spawn by the first one. So
the user under which apache runs is www.
This means that you need to grand write access to those
directory to the user www, and or the group (www i suppose)
Chee
Marek Kilimajer wrote:
>
> But because explorer does not support multipart/mixed and it is still
> the major browser (thought not for long ;), do it this way. Output
> header('Refresh: 0; url=download.zip'); first and then load the html
> page with new data blocks.
Sorry if the solution is obv
79 matches
Mail list logo