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/)
To
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 G
. 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 of
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
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
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
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
"
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 but not the link, here
is my code and the result:
function display_categories($cat_array)
{
if (!is_array($cat_array))
{
echo "No hay categorÃas a
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:
> > > > h
> > 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 Lis
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
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
> 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
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
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?
S
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
>
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
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
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
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
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;
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,
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
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'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 possible
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
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.
Thank
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
/php.net/mysqli, you can not
include two versions of mysql and mysqli client libraries.
Someone made this work:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=bqcbqi%2416sr%241%40FreeBSD.csie.NCTU.edu.tw
/Jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
tall MySQL-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
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 --wit
ere
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x830): In function
`check_scramble':
: multiple definition of `check_scramble'
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x830): first defined here
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x8e0): In function
`get_salt_from_password':
: multiple definition of `get_salt_from_password'
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x8e0): first defined here
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x900): In function
`make_password_from_salt':
: multiple definition of `make_password_from_salt'
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x900): first defined here
/usr/lib/mysql/libmysqlclient.a(manager.o)(.text+0x0): In function
`mysql_manager_init':
: multiple definition of `mysql_manager_init'
/usr/lib/mysql/libmysqlclient.a(manager.o)(.text+0x0): first defined here
/usr/lib/mysql/libmysqlclient.a(manager.o)(.text+0x90): In function
`mysql_manager_connect':
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
This works:
./configure --disable-all --with-mysqli=/usr/bin/mysql_config
--with-mysql=/usr/include/mysql
This doesn't:
./configure --disable-all --with-mysqli=/usr/bin/mysql_config
--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
r/include/mysql
--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
I use:
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
igure --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
s are worth gold to me, so I prefer to sell them and get rich!"
>
> Ben-Nes Yonatan
> Canaan Surfing Ltd
> Tel: 972-4-6991122
> Fax: 972-4-6990098
> http://www.canaan.net.il
> --
--
Venlig hilsen / Best regards,
Jac
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 th
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
Ap
x27;t seem to upload
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
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: i
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 Genera
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 B
Hi
Next time you can find a lot of information about this on www.php.net.
Check out this example:
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);
&g
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 -c
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
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,
&
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
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 at
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
>
&g
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
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 dat
have 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
ECTED]
> On Friday 13 June 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&qu
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
What function can I use to find out the current line number?
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
tion is, is there a way to see what 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
> 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
>
> progr
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
uptodat
rminal emulator
>
> 5. Indent tracking, 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,
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
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
. 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
name
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]&g
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
00780
take
into consideration regarding security are welcome.
Jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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 some
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
wha
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.
\n");
}
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
If the part that does not seem to work is the bit that does the comparison.
Anybody have an ide
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
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 Genera
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
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,
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 construct
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 some
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,
>
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: ht
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 m
. 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
et it in a hidden variable
- 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 pro
$row++;
} while ($row < $numrows);
print "";
pg_close($db);
--
- Jacob
At 09:56 09/19/2002, Andre Dubuc wrote:
> > > > > . . .
> > > $query = "SELECT * FROM rap WHERE rsponsor = '{$_SESSION['sid']}'";
> > > $resu
bl_name WHERE date >= '1997-05-05';
- 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
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
With leap year adjustment...
strtotime("+1 year", );
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 ye
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:
>We
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 d
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 wonder
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
mailto:[EMAIL PROTECTED]';">
- jacob
At 18:51 09/10/2002, Ju
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
plete.
- Jacob
//
// In the referring page (i.e. submitting a form):
var progress_window;
function open_progress_window(caption) {
progress_window = window.open("progress.php?caption=" + caption,
"progress_window", "width=350, height=120, menubar
plete.
- Jacob
//
// In the referring page (i.e. submitting a form):
var progress_window;
function open_progress_window(caption) {
progress_window = window.open("progress.php?caption=" + caption,
"progress_window", "width=350, height=120, menubar
upload so 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.
>$newstr = ereg_replace ("\n", "", $newstr);
try
$newstr = ereg_replace("\n\r|\n|\r", "", $newstr);
notice it looks for all types of line feed
At 23:51 09/06/2002, you wrote:
>I have a small problem in converting a plain text to html.
>$newstr = ereg_replace ("\n", "", $newstr);
try
$newstr = ereg_replace("\n\r|\n|\r", "", $newstr);
notice it looks for all types of line feed
LEVEL);
tug_ini_set('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
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.
if
1 - 100 of 130 matches
Mail list logo