This might be off topic but I thought I'd give the list a try...
Does anyone know of any PHP or CSS or something which allows you to
change the appearance of scrollbars in Explorer and navigator?
Kind regards,
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROT
howdy,
I have a server running a number of domains as virtual hosts under apache
if i wanted to set a cookie domain can i set it for all domains in php.ini?
or is it better to set it using ini_set(session.cookie_domain, domain) in
each site?
Cheers
Peter
"the only dumb question is the one that
Hello,
Adriano wrote:
> Hi people,
> @ Edwin wrore:
>
>
>>'Not really sure, but perhaps, with Javascript.
>>
>>But I'd rather recommend you to give up iframes... ;)
>>
>
>
> Can you post an example of Javascript code checking for _parent frame?
I think you already got this working... however,
I don't use Windows for development/production but I read somewhere that
you needed
to set in your php.ini for windows a config for either the host server
that had
email capabilities.
That's all I can offer.
Timothy Hitchens (HITCHO)
[EMAIL PROTECTED]
HITCHO has Spoken!
-Original Mes
it appears you are on windows, so look in php.ini for the smtp directive.
enter your isp's smtp server address there. then restart apache and it
should work.
Jason Reid
[EMAIL PROTECTED]
--
AC Host Canada
www.achost.ca
- Original Message -
From: "John" <[EMAIL PROTECTED]>
To: <[EMAIL PRO
Q:
If I'm not on the server that is to be used to send the email, how can I configure PHP
to send from a certain server?
thanks all
Warning: Server Error in c:\program files\apache
group\apache\htdocs\sonicmailer\sonicadmin.php on line 276
and line 276 is
mail($address, stripslashes($subject)
on 07/10/02 11:32 AM, David T-G ([EMAIL PROTECTED]) wrote:
> It's a start; it confirms some of what I think I understand about
> sessions. Now if only I can get the session ID out of the URL without
> using any cookies... Any ideas, anyone?
I Thought I made it clear, but I'll try again :)
Yo
You can pass the session ID in a form, too. Just use POST, and make it a
hidden element passed to the next page.
It's no different than passing it in the URL. I hope you're not thinking
that it's more secure by doing it this way. Either way the data is
coming from the user and it can't be trus
You can calculate the image size when adding the image (rather than when
displaying it) and store the information in a file or a database. This file
or database you could use for posting the right sizes for popup windows.
Sascha
Am Montag, 7. Oktober 2002 03:22 schrieb arnaud gonzales:
> So my
Justin, et al --
...and then Justin French said...
%
% I think you're under a little misconception about how sessions are used.
Perhaps. I'm new to them :-)
% Maintaining a session is simply just having a unique identifier for each
% "user", so that the server can recognise the user from pag
So my code is clean ? There isn't a problem of infiny loop?
My server is free.fr.
How do u suggest i can cach the data?
-Message d'origine-
De : Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Envoye : lundi 7 octobre 2002 03:07
A : arnaud gonzales
Cc : Php-General
Objet : Re: [PHP] getimagesiz
It could take a while. Depends how fast your server's disk sub-system is.
Going to disk to stat and open an image and then parse through the initial
headers to get the sizing data can take some time. I'd suggest caching
this data somewhere if you are going to need it on every request.
-Rasmus
Hi all,
Does anybody can tell me why i have this error :"Fatal error: Maximum
execution time of 5 seconds exceeded in photos2.php on line 28"
whith this
$tab_img = array();
$tab_img_size = array();
for($i=0;$
I don't know how familiar you are with PHP yet.
But I recently decided to learn PHP myself having already learnt ASP.
These 3 things helped me the most.
This is a summary of the language differences between PHP,
JScript/Javascript and VBScript
http://php.weblogs.com/php_jscript_vbscript_1
ADOdb
>
> You can run both of them without problems. Since ASP is a default on
> IIS, any IIS server set up to run PHP is running them both... I haven't
> heard of any problems caused just by having the two running at once.
>
> ---John Holmes...
I got this configuration times ago... Works without any p
> I have done a little searching and haven't really had a good solid
answer
> for my question.
>
> I mainly use ASP for development (and will continue to), but I wanted
to
> dabble in a little PHP for my own curiosity. I am using IIS 5 on Win
XP
> Pro
> for my dev machine. I have a few ASP applic
If the PHP interpreter is installed, there is nothing stopping you from
using both (morals aside).
--
Jason Morehouse (jm[@]netconcepts[.]com)
Netconcepts - http://www.netconcepts.com
Auckland, New Zealand
Linux: Because rebooting is for adding hardware.
On Sun, 06 Oct 2002 21:10:22 +,
Thanks! This is what I need!
Alex Shi
"Sascha Cunz" <[EMAIL PROTECTED]> 写入消息新闻
:[EMAIL PROTECTED]
A solution on that depends strongly on how much values A.Afn would take. For
3, it's still okay. But i wouldn't do more.
Against what shall the B.Bfn* be checked? What Data do you want to be
retu
I have done a little searching and haven't really had a good solid answer
for my question.
I mainly use ASP for development (and will continue to), but I wanted to
dabble in a little PHP for my own curiosity. I am using IIS 5 on Win XP Pro
for my dev machine. I have a few ASP applications going a
A solution on that depends strongly on how much values A.Afn would take. For
3, it's still okay. But i wouldn't do more.
Against what shall the B.Bfn* be checked? What Data do you want to be returned
from the query?
try:
SELECT ### FROM A, B WHERE
((A.Afn=1) AND (B.Bfn1 = ...)) OR
((A.Af
> I need a where clause in following situation:
>
> Say I want to query two tables: A and B. In table A there is field
> Afn, while in table B there are 3 fields: Bfn1, Bfn2 and
> Bfn3. I want
> to do a query, in which the where clause must do these things:
>
> if A.Afn=1, then che
Thanks!
Alex Shi
"Timothy J Hitchens" <[EMAIL PROTECTED]> 写入消息新闻
:002f01c26d8a$77332470$[EMAIL PROTECTED]
unset $some_variable[4];
then you would need to resort... etc (if needed)
Timothy Hitchens (HITCHO)
[EMAIL PROTECTED]
HITCHO has Spoken!
-Original Message-
From: Alex Shi
Alex Shi wrote:
> Is there a good way do drop an element from an array?
Unset (http://www.php.net/unset) the element and it will be removed from
the array.
--
Stuart
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That adds an element to an array. Just use unset.
unset($array[0]);
---John Holmes...
> -Original Message-
> From: Timothy J Hitchens [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, October 06, 2002 6:41 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] How to drop a element from an array
>
>
unset $some_variable[4];
then you would need to resort... etc (if needed)
Timothy Hitchens (HITCHO)
[EMAIL PROTECTED]
HITCHO has Spoken!
-Original Message-
From: Alex Shi [mailto:[EMAIL PROTECTED]]
Sent: Monday, 7 October 2002 8:43 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] How
Yes I have read about the array functions in the manul. But I don't
think they are what I need. What I want is to drop what ever an
element from an array, not just from top or bottom.
I can create a function to do this. But I need a better solution, that
is to say not to cost too much memery.
Al
Hint... look at array_push etc (like a stack)
Timothy Hitchens (HITCHO)
[EMAIL PROTECTED]
HITCHO has Spoken!
-Original Message-
From: Alex Shi [mailto:[EMAIL PROTECTED]]
Sent: Monday, 7 October 2002 8:35 AM
To: [EMAIL PROTECTED]
Subject: [PHP] How to drop a element from an array
Is there a good way do drop an element from an array?
Alex Shi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I need a where clause in following situation:
Say I want to query two tables: A and B. In table A there is field
Afn, while in table B there are 3 fields: Bfn1, Bfn2 and Bfn3. I want
to do a query, in which the where clause must do these things:
if A.Afn=1, then check value of B.Bfn1;
i
should be interchangeable.
When i wrote this, i didn't want to show the real url up in browser, so i used
base64 encoding.
Sascha
Am Sonntag, 6. Oktober 2002 23:52 schrieb Adriano:
> I understand and thank you Sascha.
> Curiosity: why do you use the 'base64_encode' function to send querystring
I understand and thank you Sascha.
Curiosity: why do you use the 'base64_encode' function to send querystring
arguments? I'd rather used urlencode...
"Sascha Cunz" <[EMAIL PROTECTED]> ha scritto nel messaggio
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
To produce such a JavaScript:
define('_DOM
To produce such a JavaScript:
define('_DOMBASE', 'http://yourdomain.com');
echo ''."\n"
.'if (document.location == top.location)'."\n"
.' top.location="'._DOMBASE.'/index.php?goto='
.base64_encode($_SERVER["REQUEST_URI"]).'";'."\n"
.'';
where the index.php works like:
php-general Digest 6 Oct 2002 20:00:00 - Issue 1628
Topics (messages 118984 through 119012):
How to connect Web database
118984 by: Vinod Bhaskar
118986 by: Intruder
How to connect Web Database from local machine
118985 by: Vinod Bhaskar
118996 by: John W. H
Hi people,
@ Edwin wrore:
> 'Not really sure, but perhaps, with Javascript.
>
> But I'd rather recommend you to give up iframes... ;)
>
Can you post an example of Javascript code checking for _parent frame?
By the way, what's wrong with iframes?
bye,
Adr
--
PHP General Mailing List (http://
Is there a utility that formats / beautifies PHP code like indent does for C
code?
--
Andrew Ziem
Is Jesus Your Answer?
http://www.ChristianAnswers.net/gospel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> DB tools (getting better every version)
> http://www.dbtools.com.br/EN/
Let's hope so, because the version I just downloaded would always crash
whenever you tried to set up a new connection
Mascon seems to be a very good project and far more features than
MySQL-Front. And I'm a big fan of
'Not really sure, but perhaps, with Javascript.
But I'd rather recommend you to give up iframes... ;)
- E
On Monday, October 7, 2002 1:29 AM
Stephen wrote:
> Hello,
>
> I was wondering if what I want to do is possible. I have a website that uses iframes
>and sometimes the search engines pick
Hi,
i don't think you can do this all on Server-side. I once made things like that
work with usual frames. I used Javascript in each page of the frameset to
find out if the "parent" exists - and if not, redirect to the frameset which
itself was a PHP script whom i told to load the current page
Hello,
I was wondering if what I want to do is possible. I have a website that uses iframes
and sometimes the search engines pick up the file that's displayed in the iframe. That
file jsut plain looks really bad but in the site itself and displayed in the iframe it
looks a whole lot better.
W
> From: "Andy" <[EMAIL PROTECTED]>
>
> I just installed pspell and would like to get behind of the whole concept of
> spellchecking with php.
>
> As far as I understand, I have to check it word by word. Is there an
> algorithm which allowes to give a sentence to check and highlight all the
> wor
Hi, sorry about the delay, i have some computer problems in the last few
days, all fixed now i hope.
I don't know exactly what shell access is, or ssh for that matter, but in my
quest to do what i was trying to do, I realised its not worth it due to the
fact the file i was copying was still being
I don't know exactly what shell access is, but in my quest to do what i was
trying to do, i realised its not worth it due to the fact the file i was
copying was still being accessed everytime the php file was open, and my aim
was to get the particular file from the remote server, copy it onto my
s
Hi everybody,
I just installed pspell and would like to get behind of the whole concept of
spellchecking with php.
As far as I understand, I have to check it word by word. Is there an
algorithm which allowes to give a sentence to check and highlight all the
words mispelled. On clickin the mispel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey,
I'm not sure about windows machines as I use linux but it looks like you're
sending the right commands. You need to check your permissions.
~Paul
On Sunday 06 October 2002 12:30 am, Uma Shankari T. wrote:
> Hello,
>
> I am trying to dump the
> Hi John,
>
> How do u use UNIX_TIMESTAMP or DATE_FORMAT in your query. My query now
> looks like this:
>
> "SELECT * FROM guestbook2002 ORDER BY entryID DESC LIMIT $entry,
$show";
>
> Can u help me;-) Thanks for your time
Did you read the Date and Time Functions chapter of the MySQL manual??
Hi John,
How do u use UNIX_TIMESTAMP or DATE_FORMAT in your query. My query now
looks like this:
"SELECT * FROM guestbook2002 ORDER BY entryID DESC LIMIT $entry, $show";
Can u help me;-) Thanks for your time
Best regards,
Davy Obdam,
mailto:[EMAIL PROTECTED]
-Original Message-
From
> > Are you using POST or GET for your form? Show some code...
>
> I use get. But I tried to post and look ok. Why this difference ?
>
> Christian,
>
You can only send so much data through GET, because the URL is limited
as to how long it can be. It may be different for each browser, but I
thi
> Are you using POST or GET for your form? Show some code...
I use get. But I tried to post and look ok. Why this difference ?
Christian,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I have a form with a textarea. When I put a long text(one word page
for
> example), when I submit, the form is not submitted. I have to remove
> some line to submit. I don't have any limit in the textarea. The
content
> of this form is sorted in a MySQL database. I tried to set the field
> where
> I am having MySQL database on web. (eg., at www.lmcr.net). What is the
PHP
> script which I can connect the MySQL table from my Local machine. Can
> anybody help me.
Well, most hosting companies do not allow remote access to the MySQL
server, but if you're does, then you connect the same way as
> Using $entry_date = date('l, d F Y H:i:s',$sql['date']); now gives me
> back Tuesday, 19 January 2038 04:14:07 with ever entry. $sql['date']
is
> a TIMESTAMP and looks like this 20021006141256 in the datebase. It
> should give me Sunday, 06 October 2002 14:12:56..? Wierd eh? Do u know
a
> soluti
Hello,
Why not just do it in your sql query?
If you're using MySQL perhaps this page would be helpful:
http://www.mysql.com/doc/en/Date_and_time_functions.html
Just an idea...
- E
On Sunday, October 6, 2002 10:01 PM
Davy Obdam wrote:
> Hi people
>
> I have a guestbook, and i need to conv
ttc> $get_anames = mysql_query("SELECT `name` FROM `artists` WHERE `artist_id` =
ttc> '$id'");
ttc> $anames = mysql_fetch_row($get_names);// !!! ERROR LINE !!!
of course it is an error! check your spelling !!!
$get_names != $get_anames ;
--
PHP General Mailing List (http://www.php.
Hi Nicos,
Using $entry_date = date('l, d F Y H:i:s',$sql['date']); now gives me
back Tuesday, 19 January 2038 04:14:07 with ever entry. $sql['date'] is
a TIMESTAMP and looks like this 20021006141256 in the datebase. It
should give me Sunday, 06 October 2002 14:12:56..? Wierd eh? Do u know a
solut
I have this small bit of code to fetch the latest songs submitted by a user
on theire profile for my tab website, here is the code:
10 Latest Songs Submited by
$latsongs[1]$anames[0]($latsongs[3])");
}
?>
The problem is with the line i labelled !!! ERROR LINE !!!, to fetch the
artist name.
The
I think you're under a little misconception about how sessions are used.
Maintaining a session is simply just having a unique identifier for each
"user", so that the server can recognise the user from page to page,
maintaining state.
Typically this is done by passing a session id around in he UR
First you should use :
$entry_date = date('l, d F Y H:i:s',$sql['date']);
And $sql['date'] must be a TIMESTAMP.
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
"Davy Obdam" <[EMAIL PROTECTED]> a écrit dans le message de news:
001601c26d2c$e5391ff
Hi people
I have a guestbook, and i need to convert the date and time from the
database into a normal readable date.. Like Sunday, 6 october 2002
13:30:00. I thought i could use the date() function here. I have done
this:
$entry_date = date('l, d F Y H:i:s','$sql["date"]');
echo $entry_date;
Bu
Hi, all --
I've seen a recent flurry of discussion on sessions, and that's good;
lovely how that has shown up just as I need to dig into sessions. I
think I've come to understand, though, that you can't manage sessions
without either URL extensions or cookies, and that's bad (for me, at
least).
You have to use mysqldump utility to make script, then you can put it into your
PHP script and run that script:
";
mysql_query($sql);
?>
or just dump your database directly to remote server by running mysqldump with
parameters Host and some other. The only difficulty could be, that remote
provide
Hi all,
I am having MySQL database on web. (eg., at www.lmcr.net). What is the PHP
script which I can connect the MySQL table from my Local machine. Can
anybody help me.
Regards,
Vinod.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Friends,
I am having a local MySQL database & tables in Linux and the data is
updated in the table using PHP scripts working through apache web server.
local MySQL database is connected using the following php scripts.
mysql_connect("localhost","root","vinodb")
or die ("cannot connect to mys
62 matches
Mail list logo