Hey,
Anybody have an age function where i can pass a date object and get back an
int?
eg:
$years_old=get_years(1979-12-07);
Thanks,
Ryan
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.2 - Release Date: 5/2/2005
--
PHP
* James [EMAIL PROTECTED]:
Actually:
Will there be an issue with the back button if I use 1 script to do
all of what I posted before?
No.
Thank you guys for the answers. I think I will go with the following
approach.
(A) script 1 submits to script 2 then
(B) script 2 redirects
* Rory Browne [EMAIL PROTECTED]:
You mite try this. I know that this work with perl.
=~ m/^[0-9][A-Z][a-z]{2-3} \.[0-9]+$/
I'm not sure what the initial m does(I'm not a perl person),
The 'm' is an optional flag indicating that a 'match' regexp (versus a
substitution or transliteration)
On Mon, May 2, 2005 1:49 pm, Ahmed Abdel-Aliem said:
i have a query that grabs records from the database, it works fine,
but i have a problem with acondition i want to set for it
the variable $Record[Relate] has 1 of 2 values, self or share
what i wanna do is that when the variable has the
Hi there I am trying out the PDML class which interfaces the FPDF code
for generating PDF's with markup language. The issue its I cant put
straight html tables into it. Is there such an interface to FPDF that
can be used to convert html to pdf. I have tried alot of them and none
worked out of
On 3 May 2005, at 19:18, Matthew Weier O'Phinney wrote:
* Jm [EMAIL PROTECTED]:
Does anyone have a nice email address syntax checking script they'd
like to share? Regular expression-based anyone? TIA.
I use the following regex:
preg_match('/[EMAIL PROTECTED]@([-a-z0-9]+\.)+[a-z]{2,}$/i',
On Mon, May 2, 2005 12:22 pm, Ross said:
Had a look at it and much easier to use LIKE with wildcards. Was unsure
whether the query was case sensitive that is why I asked.
As it turns out it is not.
Actually, last time I checked, this was a COMPILE option to MySQL to be
case sensitive or not
not a php expert but have filed this bug report re validating
is_numeric('3e0');
http://bugs.php.net/bug.php?id=32943
Now tried
function isnumeric($n) {
if (ereg(^[0-9]{1,50}.?[0-9]{0,50}$, $n)) {
return true;
} else {
return false;
}
}
and that doent seem to work either..
Hello, all -
I've been tinkering around with PHP's auto_prepend_file, specifying this
from inside an Apache VirtualHost container, something as such:
VirtualHost 1.2.3.4
blah
blah
blah
php_value auto_prepend_file /super_duper_file.php
/VirtualHost
THis works fine
Anasta wrote:
Can anyone help with a statement, ive tried but it never works.
I need to show a value if it is set to a specific value ie:
At the moment If a user is logs in a record is updated from 'away' to
'online'---so i want an echo statement to show a value from another table
if they
Can anyone help with a statement, ive tried but it never works.
I need to show a value if it is set to a specific value ie:
At the moment If a user is logs in a record is updated from 'away' to
'online'---so i want an echo statement to show a value from another table if
they are set to online or
On Mon, May 2, 2005 11:01 am, Chris said:
As far as I know PHP 4 classes are completely backwards compatible. with
PHP 5.
There are a few weird things with references () in PHP 4 that won't work
in PHP 5, I think -- Or, more likely, if you are relying on the behaviour
of references versus
Richard Lynch wrote:
Are they unwilling to change it for a paying account, or just the trial one?
Big difference. :-)
Well it's not a standard trail account. One of the owners offered me to
try it for a month to see if it suited me. My domain is moved to them
and everything.. so it's probably
On Mon, May 2, 2005 4:07 am, George Pitcher said:
On page y, I've echoed the queries and they work fine when I paste them
into
MySQLCC. However, if I do print_r($row), I get an ampty array. Echoing the
$result gives me Object id #3 (on page x this is Object id #6).
I have another popup
Hey,
finally solved this, incase anyones interested heres how i did it :
$day1=strtotime($age); // eg: 1979-12-07
$day2 = strtotime(date(Y-m-d));
$dif_s = ($day2-$day1);
$dif_d = ($dif_s/60/60/24);
$dif_y = round(($dif_d/365.24));
echo The person is $dif_y year(s) old;
Cheers,
Ryan
Hi,
what is the easiest way to check if a person i registered twice in a
mysql-table. Lets assume that I only check if the last name is in the table
more than once. This is in mysql 4.0 (subquery not an option).
Do I have to use arrays and in_array. Or is there a more elegant solution?
Best
On Sun, May 1, 2005 7:43 pm, Thomas Bonham said:
?php
if(isset($_GET ['page']))
{include($_GET ['page']..php);}
So, what happens when I decide to use:
http://bonhamlinux.org?page=secret
If you have a file named secret.php, I just loaded it.
More importantly, I
Hi,
I am using php 4.3.11 on a RedHat Linux server running Apache. I have a
requirement where I need to take a flat file containing formatted data and
produce an Access 97 MDB file.
Does anyone know of a class or library that will enable me to do this?
Thanks,
Don
This should get you started:
$old_data = file_get_contents('./test.txt');
$my_data = foo bar;
$pattern = '/(.*)(\/.*)$/i';
$replacement = '$1' . $my_data . '$2';
$new_data = preg_replace($pattern, $replacement, $old_data);
echo $new_data;
or a little more succinctly
$my_data = foo bar;
-Original Message-
From: Fredrik Arild Takle [mailto:[EMAIL PROTECTED]
Sent: 03 May 2005 17:49
To: php-general@lists.php.net
Subject: [PHP] Check for doubleposts
Hi,
what is the easiest way to check if a person i registered twice in a
mysql-table. Lets assume that I only check if the
set a $_SESSION['var'] at the end of the first post and check for this
the second time around
pete
Fredrik Arild Takle wrote:
Hi,
what is the easiest way to check if a person i registered twice in a
mysql-table. Lets assume that I only check if the last name is in the table
more than once.
Hi Guys,
I am trying to replicate a ColdFusion custom tag I wrote for transforming an
XML doc with XSLT and having major problems. When I use xslt_process() I get
the following error:
Warning: Sablotron error on line 1: XML parser error 4: not well-formed
(invalid token) in
The XML XSL files
On Tuesday 03 May 2005 22:41, Ryan A wrote:
Hey,
Anybody have an age function where i can pass a date object and get back an
int?
eg:
$years_old=get_years(1979-12-07);
Use time and mktime.
$birthday = 1979-12-07;
$birdthday_time = mktime(0, 0, 0, substr($birthday, 5, 2),
GamblerZG wrote:
I would like to know, whether using @ is a good practice. For example, I
have an array of unknown length $array.
Is it all right write something like this:
@list($first, $second) = $array;
or is it better to do length check?
Using @ is good practice in any case where you simply
Hi,
There are a lot of open source project management packages. .Project,
netoffice and others. Does anyone have a recommendation on the best overall
project management software for tracking billable software projects?
Thanks,
Neal
I asked a question at Apache.org mailing list about how to hide my server
type; and now I'm asking here how can I know someone's server type using PHP?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This should get you started:
$old_data = file_get_contents('./test.txt');
$my_data = foo bar;
$pattern = '/(.*)(\/.*)$/i';
$replacement = '$1' . $my_data . '$2';
$new_data = preg_replace($pattern, $replacement, $old_data);
echo $new_data;
or a little more succinctly
$my_data = foo bar;
Bonjour,
J'utilise php en profondeur depuis peu.
Je viens d'utiliser les fonctions sur les fichier tel que is_file(), is_dir() ou
encore file_exists().
J'obtiens des résultat qui ne correspondent pas à la documentation.
Apparement la longueur de chaîne influe sur le résultat obtenu.
En effet
I have an xml document storing some data I need. What I want to do is this:
1. Scan to the end of the file.
2. Find the closing tag.
3. Insert a new entry in before the closing tag.
There are specific classes and functions in the PHP core that can help
you do just this.
I've tried:
1.
I want a script that can display a list of all the websites currently
hosted on my server.. (i have root access to the server)
Say I have a page sitesonmyserver.php..it shud show a list of all the
websites hosted on my server..eg:
abc.com
xyz.om
And any additional info if possible?
I'd
Hi there, I am looking at integrating XSL:FO and PHP to convert html
templated data into pdf's using xml and xsl. I was wondering if anyone
has had success with this ? I have seen the pear package which does
this but requires the experimental java extension. Let me know, it
looks easy
Does anyone have a nice email address syntax checking script they'd
like to share? Regular expression-based anyone? TIA.
--
J
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
I asked a question at Apache.org mailing list about how to hide my
server
type; and now I'm asking here how can I know someone's server type using
PHP?
[/snip]
Do you mean OS, or manufacturer?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
hi to all
i want to pass session variables from one websever to another
webserver. may please help.
with best wishes
balwant
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* Jm [EMAIL PROTECTED]:
Does anyone have a nice email address syntax checking script they'd
like to share? Regular expression-based anyone? TIA.
I use the following regex:
preg_match('/[EMAIL PROTECTED]@([-a-z0-9]+\.)+[a-z]{2,}$/i', $email)
I believe I got it out of the PHP Cookbook, by
-Original Message-
From: Matthew Weier O'Phinney [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 03, 2005 6:24 PM
(The person who posted that should have written it as PHP to avoid
confusion: preg_match('/^[0-9][A-Z][a-z]{2-3} \.[0-9]+$/', $string);)
Also, the RegEx is incorrect since
Lisa A wrote:
Does anyone know of a good easy php script or Form that we can use with
Front Page.
We need a form to get results, that actually sends the results in a format
that is easy to read.
Not all run together with no spaces, etc. like the Front Page forms.
Thanks,
Lisa A
?php
/** File
I upgraded to PHP 5.0.4 and now all my downloads cut off at 1.9 MB
Is this a setting I missed somewhere?
++
Mike Yrabedra
[EMAIL PROTECTED]
Your Mac Intelligence Resource
++
W: http://www.macagent.com/
The following code was taken directly from
www.php.net/date
?php
function CalcAge($date_of_birth) { // -MM-DD
$cur_year=date(Y);
$cur_month=date(m);
$cur_day=date(d);
$dob_year=substr($date_of_birth, 0, 4);
$dob_month=substr($date_of_birth, 5, 2);
Hi All,
I am trying to replicate a ColdFusion custom tag I wrote for transforming an
XML doc with XSLT and having major problems. When I use xslt_process() I get
the following error:
Warning: Sablotron error on line 1: XML parser error 4: not well-formed
(invalid token) in
The XML XSL files
Hi,
Has anyone got the DOM extension to load compressed XML transparently?
libxml2 apparently has this feature, but it appears not present in PHP.
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does this help?
Select
*
From
Projects
Order By
Relate,Title
If not, please provide more details on the output you want to see and
the structure of your table
Mark
-Original Message-
From: Ahmed Abdel-Aliem [mailto:[EMAIL PROTECTED]
Sent: 02 May 2005 21:49
To:
Such as Apache, IIS, GWS, etc.
Noong 08:50 PM 5/4/2005, Ang sabi ni Jay Blanchard...
Do you mean OS, or manufacturer?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I asked a question at Apache.org mailing list about how to hide my server
type; and now I'm asking here how can I know someone's server type using PHP?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
Such as Apache, IIS, GWS, etc.
Noong 08:50 PM 5/4/2005, Ang sabi ni Jay Blanchard...
Do you mean OS, or manufacturer?
[/snip]
Check here
http://us4.php.net/manual/en/reserved.variables.php#reserved.variables.e
nvironment
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hi,
Has anyone got the DOM extension to load compressed XML transparently?
libxml2 apparently has this feature, but it appears not present in PHP
build.
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi people.
I need a help for work with the pear packet, in special with the packet
pager.php, because I need do an paging in my web but I don't know How does
work pager.php, please, help me!
Best regards TOMAS
-
Este
How do I use that to find out the server type of yahoo.com or google.com or
cnn.com, etc.?
Ang sabi sa akin ni Jay Blanchard noong 09:14 PM 5/4/2005...
Check here
http://us4.php.net/manual/en/reserved.variables.php#reserved.variables.e
nvironment
--
PHP General Mailing List (http://www.php.net/)
Anasta wrote:
Can anyone help with a statement, ive tried but it never works.
I need to show a value if it is set to a specific value ie:
At the moment If a user is logs in a record is updated from 'away' to
'online'---so i want an echo statement to show a value from another table if
they are set
pete M wrote:
not a php expert but have filed this bug report re validating
is_numeric('3e0');
http://bugs.php.net/bug.php?id=32943
Yeah I read that report... and as it says you're using Euler's notation.
Now tried
function isnumeric($n) {
if (ereg(^[0-9]{1,50}.?[0-9]{0,50}$, $n)) {
if
[snip]
How do I use that to find out the server type of yahoo.com or google.com
or
cnn.com, etc.?
Ang sabi sa akin ni Jay Blanchard noong 09:14 PM 5/4/2005...
Check here
http://us4.php.net/manual/en/reserved.variables.php#reserved.variables.
e
nvironment
[/snip]
Ah, now we get to the real
Hi,
An ad software we were running suddenly stopped working;
eg:
it stopped serving ads
but the control panels were still working perfectly and the site
didnt go down.
It was serving around 10,000-30,000 ads per day when it konked out,
its not using persistant connectionscan anybody take a
Dear Team,
I M.V.Satyanarayana Reddy, working as a PHP Programmer requesting to join this
to share the PHP General.
Thank u.
Yahoo! India Matrimony: Find your life partneronline.
* Tomás Rodriguez Orta [EMAIL PROTECTED]:
I need a help for work with the pear packet, in special with the packet
pager.php, because I need do an paging in my web but I don't know How does
work pager.php, please, help me!
The Pager package comes with some examples, including a sample
Hi all,
We have developed a site on a server now the client has moved the site
to another server. Both servers run apache. However some of the Session
variables are losing their values or their values are getting changed.
We have a number of header(location: xxx.php);
and they have the exit();
Why?
Ang sabi sa akin ni Jay Blanchard noong 09:33 PM 5/4/2005...
Ah, now we get to the real question...and the answer is that you don't.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
Why?
Ang sabi sa akin ni Jay Blanchard noong 09:33 PM 5/4/2005...
Ah, now we get to the real question...and the answer is that you don't.
[/snip]
You can get information when someone comes to your site in the form of
the referrer. PHP does not AFAIK provide a mechanism that you can use
Venkatasatyanarayana Maddi wrote:
Dear Team,
I M.V.Satyanarayana Reddy, working as a PHP Programmer requesting to join this to share the PHP General.
Good work, we can use more good soldiers like you.
Thank u.
Yahoo!
* Angelo Zanetti [EMAIL PROTECTED]:
We have developed a site on a server now the client has moved the site
to another server. Both servers run apache. However some of the Session
variables are losing their values or their values are getting changed.
We have a number of header(location:
Phil Ewington - 43 Plc wrote:
Hi All,
I am trying to replicate a ColdFusion custom tag I wrote for transforming an
XML doc with XSLT and having major problems. When I use xslt_process() I get
the following error:
Warning: Sablotron error on line 1: XML parser error 4: not well-formed
(invalid
Thanks for the info, but do I create the form in front page then? Where
does this script go? Do I save the php you sent as a results page?
thanks,
Lisa A
Jason Barnett [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Lisa A wrote:
Does anyone know of a good easy php script or Form
On Tuesday 03 May 2005 21:43, Mike wrote:
I upgraded to PHP 5.0.4 and now all my downloads cut off at 1.9 MB
downloads or uploads :-)
check:
upload_max_filesize
post_max_size
memory_limit
ini variables.
Is this a setting I missed somewhere?
++
Ang Pinoy wrote:
Such as Apache, IIS, GWS, etc.
Server header in any http response from the server:
$ telnet servername 80
HEAD / HTTP/1.0
200 OK
Connection: close
Date: Wed, 04 May 2005 15:00:55 GMT
Accept-Ranges: bytes
ETag: fa878-22dd-422b6d78
Server: Apache/1.3.27
--
PHP General Mailing
Computer Programmer wrote:
How do I use that to find out the server type of yahoo.com or google.com
or cnn.com, etc.?
snip
Will you look at that...there's some stuff about this on Google. Who
would have thunk it?
http://www.google.com/search?q=php+remote+server+information
--
John C. Nichel
[snip]
An ad software we were running suddenly stopped working;
eg:
it stopped serving ads
but the control panels were still working perfectly and the site
didnt go down.
It was serving around 10,000-30,000 ads per day when it konked out,
its not using persistant connectionscan anybody take a
[snip]
I M.V.Satyanarayana Reddy, working as a PHP Programmer requesting to
join this to share the PHP General.
[/snip]
Your wish is granted. http://www.php.net/mailinglists
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
=
Please feel free to add more points and send to the list.
20050322jb - Note the new location of PHP Editors list.
=
1. If you have any queries/problems about PHP try
On Wednesday 04 May 2005 15:54, Balwant Singh wrote:
hi to all
i want to pass session variables from one websever to another
webserver. may please help.
Solution 1: Use a custom session handler.
Solution 2: Disable cookies when using sessions (use GET to pass the session
ID) and use a
I would like to know, whether using @ is a good practice. For example, I
have an array of unknown length $array.
Is it all right write something like this:
@list($first, $second) = $array;
or is it better to do length check?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Borrowed with great reverence from http://ca3.php.net/function.mail:
$regex = '^[_a-z0-9-]+(\.[_a-z0-9-]+)[EMAIL PROTECTED](\.[a-z0-9-]{2,})+$';
if (eregi($regex, $email))
return true;
else
return false;
jason sweeney
jason.designshift.com
JM wrote:
Does anyone have a nice email address
Try reading the PHP FAQ and looking for the answer about a generic form
response using $_POST.
On Mon, May 2, 2005 9:09 pm, Lisa A said:
Does anyone know of a good easy php script or Form that we can use with
Front Page.
We need a form to get results, that actually sends the results in a
hi guys,
solved the problem. it was the register_globals setting in the php.ini
file.
made a .htacess file and set it to off; works 100%
also made all redirects like this:
session_write_close();
header(Location: buddyList.php);
exit();
note the
But other PHP is still running, right? Dude, it is either a specific
problem with the ad code itself, the database it is using, something.
Have you even checked a log? Is the disk full? Basic troubleshooting -
what have you done? Help us to help you.
Hey,
Sorry, didnt mean to sound so
hi guys,
solved the problem. it was the register_globals setting in the php.ini
file.
made a .htacess file and set it to off; works 100%
also made all redirects like this:
session_write_close();
header(Location: buddyList.php);
exit();
note the
PHP5:
http://php.net/manual/en/ref.dom.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Elaborate.
Do you want to pass the sesson from server_1 to server_2, and use the
session on server_2 instead of server_1, or do you want to use the
session on both servers at the same time, or switch frequently between
both machines?
On 04 May 2005 18:24:07 +0530, Balwant Singh [EMAIL PROTECTED]
On 5/3/05, GamblerZG [EMAIL PROTECTED] wrote:
I would like to know, whether using @ is a good practice.
I try not to use it much, but when I do I back it up with checking to
see if an error really occured. I use it for file handles, database
handles, stuff that I really expect to break
I'm going email user a link to protected from public
access down-loadable file. User goes with the link [to
my php script]. This php script validates a
pre-defined parameter from link to allow or deny
user's access to the file.
Thank
Eu.
--
PHP General Mailing List (http://www.php.net/)
To
[EMAIL PROTECTED] wrote:
I'd make a script that went through the httpd.conf file with DOM and
pulled out all the virtual hosts. Either that or looked at the home
directory listings for each site. If this is what you were getting at
(seeing as you mentioned root access and what-not), then read
Hello Eugene,
Wednesday, May 4, 2005, 6:10:17 PM, you wrote:
EV I'm going email user a link to protected from public access
EV down-loadable file. User goes with the link [to my php script].
EV This php script validates a pre-defined parameter from link to
EV allow or deny user's access to the
On 5/4/2005 5:10:17 PM, Jay Blanchard ([EMAIL PROTECTED])
wrote:
[snip]
I M.V.Satyanarayana Reddy, working as a PHP Programmer requesting to
join this to share the PHP General.
[/snip]
Your wish is granted. http://www.php.net/mailinglists
Hehehehe...
God, my name is Ryan just
Greg Donald wrote:
On 5/3/05, GamblerZG [EMAIL PROTECTED] wrote:
I would like to know, whether using @ is a good practice.
I try not to use it much, but when I do I back it up with checking to
see if an error really occured. I use it for file handles, database
handles, stuff that I really expect
very new to regex
i have a string with bbcode such as [img=XXX]
(XXX being numeric)
how do i search the string for the value of the bbcode and compare it to
another variable?
so i can take XXX and compare it to $image dynamically.
thanks for any help.
--
PHP General Mailing List
Dan,
I'm glad this may work for you. As far as the speed: it's of course
difficult to judge, and I certainly didn't test it under any real load,
but I had no problems creating and serving a several page document with
graphics in it. We were testing the concept of something like this for
a
Eugene Voznesensky wrote:
I'm going email user a link to protected from public
access down-loadable file. User goes with the link [to
my php script]. This php script validates a
pre-defined parameter from link to allow or deny
user's access to the file.
Thank
Eu.
Glad you shared that with us.
--
I agree that the best way would be to parse the http header response.
However, If you want to check it out quickly and only do a couple of them,
do this:
http://www.whois.sc/google.com
or
http://www.whois.sc/cnn.com
One of the surprising features of this whois site is that it will also tell
[EMAIL PROTECTED] wrote:
Bonjour,
J'utilise php en profondeur depuis peu.
Je viens d'utiliser les fonctions sur les fichier tel que is_file(), is_dir() ou
encore file_exists().
J'obtiens des résultat qui ne correspondent pas à la documentation.
Apparement la longueur de chaîne influe sur le
On 05/05/2005, at 5:57 AM, Kristen G. Thorson wrote:
especially since this wasn't to be our final approach. I'd be
interested if you find out more information on the subject.
What did you decide on ?
On using passthru: I do not think FOP has the option to passthru the
PDF output from the
Pretty much the only time i use it is form processing... so i don't get a
bunch of errors when someone doesn't fill out a (non-required) field..
Also i use it to prefill form data is i have a session running, ie.
input name=fname type=text value?php echo @$_SESSION['APP']['fname'];
? /
like
Dan Rossi wrote:
On 05/05/2005, at 5:57 AM, Kristen G. Thorson wrote:
especially since this wasn't to be our final approach. I'd be
interested if you find out more information on the subject.
What did you decide on ?
LOL. That part got beyond me. I don't understand how all the PDF forms
i partly solved the problem using this regex:
$tutorial['pagetext'] =
preg_replace_callback('#\[img\]\s*(\d+)\s*\[/img\]#siU',
'image_code_callback', $content['pagetext']);
except instead of using [img]foo[/img] i would like to do just [img=foo]
any help?
Sebastian wrote:
Hello,
how can a function get a pointer to an array? This does not work. I use
PHP4.
$t = array(test = unchanged);
echo brtestarray unchanged:\.$t['test'].\;
changearray($t);
echo brtestarray hopefully changed:\.$t['test'].\;
function changearray($myarray) {
$myarray['test'] = changed;
}
Before
On 05/05/2005, at 7:14 AM, Kristen G. Thorson wrote:
Dan Rossi wrote:
On 05/05/2005, at 5:57 AM, Kristen G. Thorson wrote:
especially since this wasn't to be our final approach. I'd be
interested if you find out more information on the subject.
What did you decide on ?
LOL. That part got
Here's the scenario...
I am building a site in which users will be able to create and then later
edit personal information. When they edit their information, I need to keep
track of what was changed so that I can inform via email a person to
approve the changes. Here's the flow I'm considering...
I don't know what to tell you, that code should work (it does work,
exactly as you gave it in my PHP 5).
Chris
Fred Rathke wrote:
Hello,
how can a function get a pointer to an array? This does not work. I
use PHP4.
$t = array(test = unchanged);
echo brtestarray unchanged:\.$t['test'].\;
I know in JavaScript, that you declare vars like so:
var = variableName;
So I'm assuming that in PHP you do it like this:
var = $variableName;
But there doesn't seem to be a single shred of documentation on PHP.net (or
in ANY book) that covers this. All they say is that it's good
This is probably easy, but how does
one access a database, mysql or oracle or postgresql,
and
present the data in a tabular format?
--
Member - Liberal International
This is [EMAIL PROTECTED] Ici [EMAIL PROTECTED]
God Queen and country! Beware Anti-Christ rising!
UK as 5 May 2005
I know it's not necessary, but I still want to know how.
I know in JavaScript, that you declare vars like so:
var = variableName;
So I'm assuming that in PHP you do it like this:
var = $variableName;
But there doesn't seem to be a single shred of documentation on PHP.net (or
in ANY book)
I am using PHP version 4.3.4.
I'm creating an authorization module that uses a users object, that includes
the username, usertype, etc. I want to store this in a session variable
(i.e. $_SESSION['objects']['auth'] = new Authorization();) so that I can
keep the information from page to page.
Thanks these pointers have helped alot.
Jared Sherman [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have an xml document storing some data I need. What I want to do is this:
1. Scan to the end of the file.
2. Find the closing tag.
3. Insert a new entry in before the closing
1 - 100 of 110 matches
Mail list logo