Hi
I am creating a birthday calendar of all my friends and family. Can you please
click on the link below to enter your birthday for me?
http://www.birthdayalarm.com/bd2/85206071a420999425b1469532889c603775600d905
Thanks,
Jacob
--
PHP General Mailing List (http://www.php.net
There is error logging on the web server, but this tells me nothing.
There is no error when I try to access the drives, it just doesnt
happen.
Jacob
Citat af Micah Gersten [EMAIL PROTECTED]:
Have you turned on error logging? What code are you using?
Thank you,
Micah Gersten
onShore
. I guess that it is something to do with lack of permission,
but I am not sure how to solve this problem, so I hoped for some
assistance from this forum as it seems to be related to the use of
libssh2 functions.
Best wishes
Jacob
--
Jacob Overgaard, Ph.D
Staff crystallographer
Department
Hi,
Have a potentially interesting question here, wondering if anyone has
done this one before and could shed some light for me.
I have a bit of PHP code that needs to extract some quoted strings,
so, very simply:
hello
perfectly fine and works great
but, it should also be able to extract
Assume that you should accept any string that PHP itself would accept,
though no processing of the actual escapes is required nor desirable.
On Mar 29, 2008, at 8:34 PM, Robert Cummings wrote:
On Sat, 2008-03-29 at 19:16 -0400, Adam Jacob Muller wrote:
Hi,
Have a potentially interesting
Yes, php source code.
On Mar 29, 2008, at 8:54 PM, Robert Cummings wrote:
On Sat, 2008-03-29 at 20:41 -0400, Adam Jacob Muller wrote:
Assume that you should accept any string that PHP itself would
accept,
though no processing of the actual escapes is required nor desirable.
Sorry, I
token_get_all, fantastic!
Thanks.
- Adam
On Mar 29, 2008, at 10:02 PM, Robert Cummings wrote:
On Sat, 2008-03-29 at 21:31 -0400, Adam Jacob Muller wrote:
Yes, php source code.
You will not be able to do this with PCRE. You need something that can
track state because double quotes can
Hi,
I want to create a link that get the name and the link from the database.
The problem is that I get the bullets created with li but not the link, here
is my code and the result:
?php
function do_html_URL($url, $name)
{
// output URL as link and br
?
a href=?=$url??=$name?/abr
?php
}
Thanks, I could also use Tidy and make it do the convert.
Jacob
On 3/9/06, Robin Vickery [EMAIL PROTECTED] wrote:
On 06/03/06, Jacob Friis Saxberg [EMAIL PROTECTED] wrote:
Does anyone know of a Php funtion that can do this:
http://golem.ph.utexas.edu/~distler/blog/NumericEntities.html
Does anyone know of a Php funtion that can do this:
http://golem.ph.utexas.edu/~distler/blog/NumericEntities.html
Thanks,
Jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does anyone know of a Php funtion that can do this:
http://golem.ph.utexas.edu/~distler/blog/NumericEntities.html
Hi there!
http://se.php.net/manual/en/function.htmlentities.php
?
htmlentities converts to named entitites. I want it to numeric entities.
--
PHP General Mailing List
Hello again.
Is it possible to use Php, Rails and ajax via some open source system?
How do you do it?
The most important for me is to use Php and ajax.
Thanks,
Jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi.
How can I use Ruby with Php?
My goal is to have (Independence of Presentation Logic(IoPL)).
Thanks,
Jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How can I use Ruby with Php?
I mean Rails. sorry :)
My goal is to have (Independence of Presentation Logic(IoPL)).
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have asked Php to log errors in a file but it doesn't.
error_reporting = E_ALL
display_errors = Off
log_errors = On
error_log = /var/log/php-errors.log
Any idea what's wrong?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 10/5/05, Stephen Leaf [EMAIL PROTECTED] wrote:
On Wednesday 05 October 2005 08:16 am, Jacob Friis Saxberg wrote:
I have asked Php to log errors in a file but it doesn't.
error_reporting = E_ALL
display_errors = Off
log_errors = On
error_log = /var/log/php-errors.log
sure PHP has
On 10/5/05, Skippy [EMAIL PROTECTED] wrote:
Quoting Jacob Friis Saxberg [EMAIL PROTECTED]:
I have asked Php to log errors in a file but it doesn't.
error_reporting = E_ALL
display_errors = Off
log_errors = On
error_log = /var/log/php-errors.log
Any idea what's wrong?
Maybe
On 10/5/05, Jacob Friis Saxberg [EMAIL PROTECTED] wrote:
I have asked Php to log errors in a file but it doesn't.
error_reporting = E_ALL
display_errors = Off
log_errors = On
error_log = /var/log/php-errors.log
Any idea what's wrong?
Sorry, this solved my problem:
error_log = /var/log
Do I need PDFlib in order to read PDF files?
Is there another way?
There is a nifty tutorial on this subject over at zends.com
Can I read PDF files with that?
Thanks,
Jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Do I need PDFlib in order to read PDF files?
Is there another way?
Thanks,
Jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have created a function that will measure the width of a text string
in pixels. It works ok.
If you have optimizations, please let me know.
Thanks,
Jacob
function txt_width ($txt) {
$width = 0;
$txt_len = strlen($txt);
for ($n = 1; $n = $txt_len; $n
M. Sokolewicz wrote:
Jacob Friis wrote:
I have created a function that will measure the width of a text string
in pixels. It works ok.
If you have optimizations, please let me know.
Thanks,
Jacob
function txt_width ($txt) {
$width = 0;
$txt_len = strlen($txt);
for ($n = 1; $n
Can I via Php read word documents on a Linux server?
I see COM, but that's only available for the Windows version of PHP.
Thanks,
Jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jacob Larsen wrote:
Can I via Php read word documents on a Linux server?
I see COM, but that's only available for the Windows version of PHP.
I found this:
http://word2x.sourceforge.net/
But I had hopped to find a Php class, so that I can be sure that it will
work in a web-hotel.
Thanks,
Jacob
How can I run both php4 and php5 on the same apache server?
Could I do it like this:
AddType application/x-httpd-php .php
AddType application/x-httpd-php5 .php5
And somehow tell php5 to use application/x-httpd-php5
--
Best regards, Jacob Friis Larsen
www.webcom.dk | www.journster.com
--
PHP
It is possible to validate a XML document with XML Schema Definition
Language (XSDL).
Is it possible to use XSDL in Php?
Thanks,
Jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It's possible in PHP 5, but not in PHP 4
Could you link me to the documentation?
And I advise to use the most recent libxml2 libraries, since they made
big improvements concerning XSD support lately
It is possible to validate a XML document with XML Schema Definition
Language (XSDL).
Is it
When I do configure --with-pear I would assume that pear would be
available after make install, but it isn't. Any ideas?
How is it 'not available'?
Did the PEAR directory/files not install? Is your system not finding them?
I got it now, I think I missed some Debian packages.
Thanks,
Jacob
--
PHP
When I do configure --with-pear I would assume that pear would be
available after make install, but it isn't. Any ideas?
Thanks,
Jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
can not
include two versions of mysql and mysqli client libraries.
Someone made this work:
http://groups.google.com/groups?hl=enlr=ie=UTF-8selm=bqcbqi%2416sr%241%40FreeBSD.csie.NCTU.edu.tw
/Jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Curt Zirzow wrote:
* Thus wrote Jacob Friis Larsen:
How do I install Php5 with both --with-mysql and --with-mysqli?
1. Follow instructions at http://php.net/mysqli.
Is this correct: --with-mysqli=/usr/bin/mysql_config?
(This works: ./configure --with-mysqli=/usr/bin/mysql_config --with-apxs2)
2
-shared-compat*.rpm
I have installed MySQL-shared-compat-4.1.3-0.i386.rpm, but I still get
errors.
thanks,
Jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--with-mysql=/usr/include/mysql
--with-mysqli=/usr/bin/mysql_config
The last gave me a lot of errors.
Thanks,
Jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
:
Apache 2.0.49 (Fedora Core 1 RPM)
Php 5.0.0
MySQL 4.1.3-beta (MySQL RPM)
Any ideas?
Thanks,
Jacob
Georg Richter wrote:
Am Mi, den 14.07.2004 schrieb Jacob Friis Larsen um 8:04:
Hi!
Could you show me your configure statement. I can't make it work.
System
Linux beethoven 2.6.5-7.95-default #1 Thu Jul 1
--with-mysqli=/usr/bin/mysql_config
Thanks,
Jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--with-mysql=/usr/include/mysql --with-apxs2
I use:
Apache 2.0.49 (Fedora Core 1 RPM)
Php 5.0.0
MySQL 4.1.3-beta (MySQL RPM)
Thanks,
Jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://www.canaan.net.il
--
--
Venlig hilsen / Best regards,
Jacob Vennervald
System Developer
Proventum Solutions ApS
Tuborg Boulevard 12
2900 Hellerup
Denmark
Phone: +45 36 94 41 66
Mobile: +45 61 68 58 51
--
PHP General Mailing List (http
Why can't you do this using PHP?
Have a php script generate a directory listing the user can choose from
and when the user chooses a picture load that picture.
Jacob
On Thu, 2003-10-30 at 02:27, David Miller wrote:
I have written PHP code to upload and download files to my server through my
that, everything
worked no problem.
Jacob Bolton [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hey all,
I've researched this to the greatest extent and I can't seem to find
anything written about this. I have a new server (RH 9) with PHP4.2.2 and
Apache 2. I can't seem to upload anything
anything over that. I get no error messages, it simply doesn't upload it. I can
upload no problem with a perl script.
My upload_max_filesize value is set at 10M.
You can view my php_info at http://mlm.vervecreations.com/php.php
Any insight would be appreciated.
Thanks!
Jacob Bolton
preg_replace(/aIone/, alone, I am not aIone);
But you don't need regular expressions for this.
Jacob
On Thu, 2003-10-16 at 14:35, Shmuel wrote:
I have a misspelled sentence like this: I am not aIone.
I want to change the capital I to small l, but only in
the beginning of a word.
How
Excuse me, I accidentally sent that last incomplete message.
I have successfully compiled PHP 4.3.3RC3 with the --with-imagick flag after
compiling and installing ImageMagick 5.5.7 (that was a headache on it's
own). The following error keeps cropping up:
Fatal error: Call to undefined function:
Hello all-
Does anyone here use Imagick in PHP? I've tried the example .php files
using a miriad of version combinations and I always get this error:
Fatal error: Call to undefined function: imagick_readimage() in
/usr/local/lib/php/docs/imagick/examples/border.php on line 5
--
PHP
Does the script work when you run it by hand?
Try to insert an echo TESTER in the top the shell script to make sure
something is sent to stdout. And then check in your php script that you
receive the message.
Best regards,
Jacob Vennervald
On Wed, 2003-08-06 at 08:38, Chris Blake wrote
$row[userstatus];
}
mysql_free_result($result);
?
Best regards,
Jacob Vennervald
On Mon, 2003-07-28 at 16:08, SP Computing wrote:
Hi all,
I have this code so far:
?
mysql_connect(localhost, USER, PASS);
mysql_select_db(DB);
$result = mysql_query(SELECT * FROM tbl
Download it and then check it. But if you need to check a lot of files
that's probably to slow.
Jacob Vennervald
On Thu, 2003-07-24 at 06:03, Joe wrote:
how to check the filetype of remote file
because is_dir(), is_file() can't work on remote file
thx a lot
--
PHP General Mailing
You could serialize your an array and save it in the cookie, but I would
also recommend using a session and then save the serialized array in
this instead.
Jacob Vennervald
On Tue, 2003-07-22 at 09:36, Curt Zirzow wrote:
* Thus wrote Shantanu Oak ([EMAIL PROTECTED]):
Hi,
I have written
php -c php.ini-file
Jacob Vennervald
On Tue, 2003-07-22 at 12:52, Jean-Christian IMbeault wrote:
I am running some cronjob scripts that are written in PHP. However
things are not working as expected because my php.ini file auto-prepends
a file. This auto-prepending is meant for my PHP web
Just tried it out and you should use htmlspecialchars() instead of
urlencode(). When you put it in a hidden field the browser is
responsable for urlencoding the data.
Jacob
On Mon, 2003-07-21 at 09:24, Andrei Verovski wrote:
Hi,
I am need to pass serialized assotiative array via form hidden
Hi List
Does anybody know any good PHP code beautifiers/formaters?
Preferably one which is configurable so I can specify the exact format I
want.
Cheers,
Jacob Vennervald
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks a lot.
Jacob Vennervald
On Thu, 2003-07-17 at 15:29, Joseph Szobody wrote:
Jacob,
http://www.tote-taste.de/X-Project/beautify/
http://www.semdesigns.com/Products/Formatters/PHPFormatter.html
http://www.trita.com/features/php-beautifier.jsp
http://www.bierkandt.org/beautify
Actually I did search Google first and I did get the same results you
got. But what I was looking for was actually not a list of different
beautifiers but comments from developers having experience with a
specific beautier that they find does the job well.
Jacob Vennervald
On Thu, 2003-07-17
any other solutions I haven't thought of or trick/tweaks to the
ones I have listed?
Thanks!
Jacob
--
If there's a World War III, World War IV will be fought with sticks and
stones.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Have a look at:
http://www.php.net/addslashes
Quoting Aaron Axelsen [EMAIL PROTECTED]:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have a php script set up for a user to upload a word document,
which is then coverted to html form, which I would then lke to store
in a database.
2003 03:00 pm, you wrote:
On Saturday 14 June 2003 02:19, Jacob Marble wrote:
Amen; machine-translators are no good for something
that you don't want confused.
ie- english season could be sazon or estacion in
Spanish, which mean two different things.
Never mind translation, season
Amen; machine-translators are no good for something that you don't want
confused.
ie- english season could be sazon or estacion in Spanish, which mean
two different things.
Jake
Joel Rees [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello all mailing-list people, I need help, my
What function can I use to find out the current line number?
options are compiled into
Apache, so that if I recompiled it, I could make sure to include the current
options that are compiled now? Thanks in advance everyone!
Jacob Bolton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to not assume the obvious. I'm still
sort of a newbie. Thanks!Jacob Bolton
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You could download the pear files from the pear CVS to somewhere within your
programs path. If your web files are in (using a linux
example) /home/foo/public_html then just change to that directory and checkout
the files from CVS. This also gives you the luxury of keeping the pear files
Then the only thing you have to change from windows to linux is the
ROOT_PATH_DELIMITER (comment it out).
I meant to say remove the value:
define('ROOT_PATH_DELIMITER', '');
Quoting [EMAIL PROTECTED]:
You could download the pear files from the pear CVS to somewhere within your
programs
TAB to get the right indent]
Are there other nice editors for Linux RedHat?
Please help me. I really need it.
Jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, and brace tracking
6. Remembers recently opened files. I'll know what I've been working on.
7. Configurable tab spaces (I use 4 spaces)
Faisal
Sorry I forgot to tell you. I am using GNOME, and I'm on a company
computer so I can't change to KDE.
Jacob
--
PHP General Mailing List (http
This should work as long as you are only including your include files from
scripts named index.php.
--Jacob
Philippe Saladin [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
directly. My main question is if all of the code inside an included PHP
file
into consideration regarding security are welcome.
Jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
True. But let's just call me anal retentive. :-) Let's say I didn't have the
option of doing what you suggested. Are my ideas sound? Also, those ideas
apply to top-level PHP scripts in an application.
Jacob
Kevin Stone [EMAIL PROTECTED] wrote in message
007801c2bcd4$02d000f0$6601a8c0@kevin"
the included files with .inc. It would require configuration of the server
to prevent downloading of those files and I don't want to require that step
of people who choose to run the app on their server.
Thanks for the input!
Jacob
Chris Shiflett [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED
. It is rarely
safe to assume things when it comes to security so I figured I would ask.
Thanks again for responding.
--Jacob
John W. Holmes [EMAIL PROTECTED] wrote in message
003801c2bd13$01fc85b0$7c02a8c0@coconut">news:003801c2bd13$01fc85b0$7c02a8c0@coconut...
You already have your
The user/group (commonly nobody.nogroup or nobody.nobody) that your web server
runs under probably does not have the permissions necessary to chmod those
directories (ie: they are owned by someone else).
Quoting Stephen [EMAIL PROTECTED]:
Why do I get this error whenever I try to CHMOD
Hey All.
The subject line pretty much says it all.
I have php-nuke installed in the / directory and it works
fine.
However, when I try to run the gallery or netjuke software
(also php)
They just return the source code of the file. (not exactly
Hi All,
I'm reading a paramter file and a text file.
Per line of the text file I want to check if there is a word in there from
the parameter file.
However I need to open and read the parameter file for each line in the text
file. How can I change this?
Followin is the code I have.
?
if
Hi All,
Reasonably new to PHP and trying to write a code that looks through my
logfiles and reports the lines that contain any of the keywords in my init
file.
However can't seem to get it to work
?
// Open an ini file
if (!($IniContent = file(d:\MyPhp\initORA.ini)))
{
Print (File could not be
Hi All,
I would lik eto get the information about the location of the visitors to my
site like From which IP, What browser and which part of the world etc.
How can get the information about the location of the visitor, using PHP?
for me, the
time zone is sufficient.
Thanks in advance.
Jacob
When I use session.save_handler = mm I can only make it work by setting
session.save_path = /dev/shm
Is that how it should be?
Regards, Jacob
www.sharksforum.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sorry, the solution was not to use session.save_path=/dev/shm, but to
install a new version of mm.
Regards, Jacob
www.sharksforum.com
When I use session.save_handler = mm I can only make it work by setting
session.save_path = /dev/shm
Is that how it should be?
--
PHP General Mailing
Yes.
http://www.sharksforum.com
Dan Field [EMAIL PROTECTED] skrev i en meddelelse
1038221845.1245.144.camel@dsspc">news:1038221845.1245.144.camel@dsspc...
is it doable?
ie
class myClass {
var $myInt;
// default constructor
function myClass() {
}
// overloaded constructor
function
Is it still possible to use enable-inline-optimization?
Is it adviceable?
I am using RedHat Linux 7.3 with all RPM's updated (i.e. GCC and so on), Php
4.2.3 and Apache 1.3.27
Regards Jacob
http://www.sharksforum.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Dreamweaver has a 'cleaning' utility for MSWord HTML. This is not a
programming solutiona nd I am pretty sure this is not what you are looking for
but thought I would mention it anyways.
Quoting Chris Boget [EMAIL PROTECTED]:
I've done some searches on Google, PHPClasses.org, etc
for
I utf8_encode and utf8_decode all data that I put into XML files. The
application is on a large site so it is thoroughly tested and has encoded and
decoded data without problems. I have run the application on Linux Slackware
and FreeBSD.
Quoting Charles Wiltgen [EMAIL PROTECTED]:
Hello,
I
Has anyone used imagerotate() function? I am curious as to how exactly it is
being used. I currently use a rather large custom function to rotate my
images...
Thanks,
Jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Has anyone on this list had any experience with XML-RPC and, more
specifically, any experience using it with PHP?
XML-RPC: http://xml-rpc.org
w/ PHP: http://xmlrpc-c.sourceforge.net/xmlrpc-howto/xmlrpc-howto-php.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Try having a look at the SOUNDEX() function (not sure how well this works for
proper names). Have you look into string comparison functions
(http://www.mysql.com/doc/en/String_comparison_functions.html)?
You also might have better luck asking the mysql mailing list. (if you are
looking for a
. Note: We have
already investigated most ownership/file privilege possibilities.
Jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
With leap year adjustment...
strtotime(+1 year, timestamp);
will return a unix timestamp.
- Jacob
At 01:49 09/19/2002, Robert Cummings wrote:
Support @ Fourthrealm.com wrote:
Hi guys,
What is the easiest way to get the date of one year from today?
Accommodating for leap years
My first assumption would be yes they are domain specific, but it might be
possible to cross domains if both domains were run from the same web server
and you were to pass the session id between pages manually rather than it
being stored in a cookie..
What does everyone else think?
- Jacob
date = '1997-05-05';
/quote
- Jacob
At 02:28 09/19/2002, Support @ Fourthrealm.com wrote:
Reformatting before an inserting/updating is one option, but how would we
change the mySQL database to accept the other format?
Peter
At 04:18 PM 9/12/2002 +0800, Jacob Miller wrote:
Why can't you just
$numrows);
print /select;
pg_close($db);
--
- Jacob
At 09:56 09/19/2002, Andre Dubuc wrote:
?php
. . .
$query = SELECT * FROM rap WHERE rsponsor = '{$_SESSION['sid']}';
$result = pg_exec($db, $query);
if (!$result) {exit;}
$numrows = pg_numrows($result);
if ($numrows
it in a hidden variable
input type=hidden name=submit value=register
- Jacob
At 10:58 09/19/2002, Jesse Lawrence wrote:
Hello everyone,
In a simple signup form that I'm using, I send the
variables to a script, which performs a function if
($submit == register) {
function();
}
The problem is, my
It looks to me like the database is interpreting your date
incorrectly. Try changing the format you use to insert, -mm-dd
- jacob
At 15:11 09/12/2002, Tommi Virtanen wrote:
Hi!
I have web-form, which has field (10 chars), there I enter date (format
dd.mm.). Then data saves
Why can't you just reformat it before inserting it into the db?
$date = 31.12.2002;
$parts = split(\., $date);
echo $parts[2].-.$parts[1].-.$parts[0];
- jacob
At 16:13 09/12/2002, Tommi Virtanen wrote:
Well, insert format in wrong, but in Finland enter format
A friend of mine took a tutorial at OSCON 2002 (he thinks it was Intorduction
to PHP) and said that Rasmus had provided a full working version of a class
to handle sessions. While I was at the conference I did not go to that
tutorial (or was it a session?) and so I did not see it. I am
This appears to work
// Normal array
$a1 = Array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
srand((float) microtime() * 1000);
$a_temp = array_rand($a1, sizeof($a1));
// Random array
while (list(, $value) = each($a_temp)) {
$a2[] = $a1[$value];
}
print_r($a2);
- jacob
At 22:22 09/10/2002
I don't think its possible to make a normal link open the default email as
mailto: is a special trigger built into the browsers. The only way I can
think of would be using javascript in the page.. something like
body onLoad=document.location='mailto:[EMAIL PROTECTED]';
/body
- jacob
At 18
.
- Jacob
//
// In the referring page (i.e. submitting a form):
head
script type=text/javascript
var progress_window;
function open_progress_window(caption) {
progress_window = window.open(progress.php?caption= + caption,
progress_window, width=350, height=120, menubar=no, statusbar
.
- Jacob
//
// In the referring page (i.e. submitting a form):
head
script type=text/javascript
var progress_window;
function open_progress_window(caption) {
progress_window = window.open(progress.php?caption= + caption,
progress_window, width=350, height=120, menubar=no, statusbar
that it doesn't appear as if the
browser has frozen for a few hours.
Any suggestions for a solution?
thanks
-jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 23:51 09/06/2002, you wrote:
I have a small problem in converting a plain text to html.
snip
$newstr = ereg_replace (\n, BR, $newstr);
try
$newstr = ereg_replace(\n\r|\n|\r, BR, $newstr);
notice it looks for all types of line feeds
-jacob
--
PHP General Mailing List (http
At 23:51 09/06/2002, you wrote:
I have a small problem in converting a plain text to html.
snip
$newstr = ereg_replace (\n, BR, $newstr);
try
$newstr = ereg_replace(\n\r|\n|\r, BR, $newstr);
notice it looks for all types of line feeds
-jacob
--
PHP General Mailing List (http
('error_log', FILENAME_PHP_ERROR_LOG);
tug_ini_set('log_errors', PHP_LOG_ERRORS);
tug_ini_set('display_errors', PHP_DISPLAY_ERRORS);
tug_ini_set('track_errors', PHP_TRACK_ERRORS);
Please CC to my email address as I only receive this list in digest. Thanks!
Jacob
--
PHP General Mailing List
I have a user authentication system using sessions
it checks username and password against a database.
if correct it sets a variable in the session cookie (via $_SESSION) and
redirects to the protected page which checks for that variable.
if the user/pass is wrong it redirects to an error page.
1 - 100 of 127 matches
Mail list logo