Michael Hulse wrote:
> Hello,
>
> Just curious if anyone could give me some google
> keywords/links/suggestions/tips/comments/feedback on a good place to
> start for writing a search engine script.
>
> I think I might have a good idea for a specific type of search engine.
> Basically it would cr
Samuel DeVore wrote:
>How does one find the system temp folder? from php? in a platform
>independant way
>
>
>
This should help:
http://www.php.net/manual/en/function.tempnam.php
It does return the name of the temp file created (or FALSE), which could
be parsed to get the temp directory as PHP
How does one find the system temp folder? from php? in a platform
independant way
Hi there!
Yes, actually there is a "dirty" solution to this.
You can use javascript to skip certain pages in historylist.
window.document.replace('page1.php');
window.document.location = 'page2.php';
window.document.location.replace('page3.php');
The only page that would exist in the history li
Ahmed Abdel-Aliem wrote:
...
and i like to print it this way
RTCode:CASE395
...
foreach($array as $key=>$value){echo $key.':'.$value;}
JM
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jochem:
My most sincere apologies for not replying to your questions. I've been
suffering with a rather dibilitating head cold the last few days and somehow
glossed over your questions.
> 1. what is the local machine?
Just my local workstation.
> 2. where does the DB live? (is it a dif
> -Original Message-
> i need some help with printing an array, i would like to
> print the keys and the values of them example :
I use the dump_array posted by "examancer" at the following address:
http://www.phpbuilder.com/board/showthread.php?t=10213508 when
debugging, it should work w
read about "foreach" function.
Zareef Ahmd
- Original Message -
From: "Ahmed Abdel-Aliem" <[EMAIL PROTECTED]>
To:
Sent: Thursday, January 05, 2006 7:58 PM
Subject: [PHP] printing keys and values of array
Hi
i need some help with printing an array, i would like to print the
keys a
Hi
i need some help with printing an array, i would like to print the
keys and the values of them
example :
if i have an array like that
[EXTENDED] => Array
(
[RTCode] => CASE395
[ManuPartNum]
When using forms with PHP sessions, hitting the back button results in
WARNING: Page has Expired
I am wondering if there is a work around for this so that it (IE, in this
case) resubmits the form information and displays the previous page.
Any ideas?
--
PHP General Mailing List (http://www.php.
Al wrote:
John Nichel wrote:
n.g. wrote:
hi,
i want to register a domain name through NetworkSolutions.com,
but it require a credit card which i dont have to pay the bill.
if you have a credit card, i can transfer to your account, and then
you please regiter the domain using my info.
or if
Generally, scope is fairly loose in PHP. If $row is set by
mysql_fetch_array(...) it should carry throughout your script as it is,
unless modified. Try commenting out non-relavant pieces of the code and
var_dump(...)ing the $row variable at the start and throughout the script.
Aaron
On 1/5/06, M
> > if ($row[range] != "")
This should be $row['range'], not $row[range], although it doesn't
make a difference unless you define a constant named range.
Your problem isn't actually scope, it's that your PHP script is being
called twice. Once to show the form, once to submit it. The sec
Mike Tuller wrote:
Excuse the last post, I didn't have all the code it there.
I have a table listing items in a database, and have a delete button
next to each item, and I want to be able to click on the delete and
delete only that record in the database and then reload the page
where it would d
It's more like this:
if
{
$x=1;
echo $x;
}
elseif
{
echo $x;
}
On Jan 5, 2006, at 1:51 PM, Jay Blanchard wrote:
[snip]
The list listing is in an if/elseif statement where if something is
set, display the table that has the data, and elseif you click on the
delete button
One of the problems I have had with the PHP session system is that it does
not use a readily usable text format for serializing data. This makes using
session data outside of PHP virtually impossible.
I looked at the WDDX extension and was not too impressed: it was way too
verbose and didn't use v
Oeps, it's already complex to explain this.
The array that needs to be created and read is looking like this
$vArray = array('uses'=>'J', $_POST['vke']);
Maybe that will clear up thing a (tiny) bit).
Thanks again,
Sjef
""Sjef Janssen"" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTE
[snip]
The list listing is in an if/elseif statement where if something is
set, display the table that has the data, and elseif you click on the
delete button, you would delete the data in the row of the table that
is is the if statement. One part of the data is in the if scope, and
the oth
Excuse the last post, I didn't have all the code it there.
I have a table listing items in a database, and have a delete button
next to each item, and I want to be able to click on the delete and
delete only that record in the database and then reload the page
where it would display the updated i
The list listing is in an if/elseif statement where if something is
set, display the table that has the data, and elseif you click on the
delete button, you would delete the data in the row of the table that
is is the if statement. One part of the data is in the if scope, and
the other is i
I've got a little problem where our servers are in PST but the
customer operates in Hawaii (-10 GMT). I believe I can just get the
time for them by doing something like
date("d H i", strtotime('now -2 hours') );
But here's the catch, how should I deal with day light savings ( DST)
. In hawaii t
Jochem Maas wrote:
> hi Mark,
>
> Mark wrote:
>> I have a program called MCache, it used to be MSession. I'm trying to get
>
> why 'Cache' - its a session handler right? (I think the name is a little
> confusing, but maybe its just me - I have been adding cache mechanisms
> to a site for the las
[snip]
They key I am using to find the record I want to delete is the the
$row[id], but that is out of the scope of where the variable is set.
Is there a way to set a variable so that it goes outside the scope?
[/snip]
What do you mean by "out of the scope of where the variable is set"? If the
I have a table listing items in a database, and have a delete button
next to each item, and I want to be able to click on the delete and
delete only that record in the database and then reload the page
where it would display the updated information. Here is part of the
code I have.
I hate doing this, but you could use Javascript to use the date and time set
on the clients computer. You can't control how they have it set though.
On 1/5/06 1:13 PM, "Mark Steudel" <[EMAIL PROTECTED]> wrote:
> Im just using it to set defaults on a QuickForm date element.
>
> -Original Mes
Hallo there,
I try to put a number of variables in an array as follows:
input boxes gather info. This info is language dependent, so the info is put
into an array vke with indexes NL and EN. The POST variable gives this array
back. Then I want to add a variable to this array, 'gebruikt' (=used) wit
Im just using it to set defaults on a QuickForm date element.
-Original Message-
From: Mike Tuller [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 05, 2006 11:02 AM
To: Mark Steudel
Cc: php-general@lists.php.net
Subject: Re: [PHP] Timezone and DST
Are you just displaying the time, or
Is there also a prize for those who STILL think that everyone uses
the same font so their ASCII artwork will display as intended?
:-)
tedd
This person should be awarded with some great prize :) Great topic.
-snip-
--
*** phpgurru.com [A php resource provider] ***
\\\|///
Are you just displaying the time, or is this for submission in a
database?
On Jan 5, 2006, at 12:50 PM, Mark Steudel wrote:
Hi All,
I've got a little problem where our servers are in PST but the
customer
operates in Hawaii (-10 GMT). I believe I can just get the time for
them by
doing
Hi All,
I've got a little problem where our servers are in PST but the customer
operates in Hawaii (-10 GMT). I believe I can just get the time for them by
doing something like
date("d H i", strtotime('now -2 hours') );
But here's the catch, how should I deal with day light savings ( DST) . I
John Nichel wrote:
n.g. wrote:
hi,
i want to register a domain name through NetworkSolutions.com,
but it require a credit card which i dont have to pay the bill.
if you have a credit card, i can transfer to your account, and then
you please regiter the domain using my info.
or if you have any
This person should be awarded with some great prize :) Great topic.
On 1/5/06, Jay Blanchard <[EMAIL PROTECTED]> wrote:
>
> [snip]
> > hi,
> > i want to register a domain name through NetworkSolutions.com,
> > but it require a credit card which i dont have to pay the bill.
> >
> > if you have a cr
Hello Guys,
Thanx a lot for sharing some really great ideas. especial Mark and Albert
has suggested some great stuff to do.
Thanx a lot.
--
*** phpgurru.com [A php resource provider] ***
\\\|///
\\ - - //
( @ @ ) PHP is too logical for my brain
+---oOOo-(_)
hi Mark,
Mark wrote:
I have a program called MCache, it used to be MSession. I'm trying to get
why 'Cache' - its a session handler right? (I think the name is a little
confusing, but maybe its just me - I have been adding cache mechanisms
to a site for the last month or so!)
is this better th
[snip]
I have a program called MCache, it used to be MSession. I'm trying to get
the word out and get some testers.
The server itself is GPL, the PHP extension is under the PHP license. I will
be checking it in to the PHP main CVS repository when I'm pretty sure that
it will play nice.
The server
Robert Cummings wrote:
On Thu, 2006-01-05 at 09:46, Jochem Maas wrote:
http://cow.neondragon.net/index.php/375-Annoying-Things-About-Php
I wanted to add a comment to that blog, the guy seems to think returning
references is faster than returning copies, which is only true if the
return value
I have a program called MCache, it used to be MSession. I'm trying to get
the word out and get some testers.
The server itself is GPL, the PHP extension is under the PHP license. I will
be checking it in to the PHP main CVS repository when I'm pretty sure that
it will play nice.
The server can b
On Thu, 2006-01-05 at 09:46, Jochem Maas wrote:
>
> http://cow.neondragon.net/index.php/375-Annoying-Things-About-Php
I wanted to add a comment to that blog, the guy seems to think returning
references is faster than returning copies, which is only true if the
return value is later modified and th
Hello,
Is there anyway to prevent users from modifying limits imposed by
php.ini configuration in a phpSuExec configured PHP installation??
For example in server with PHP running in a module, I use php_admin_*
directives:
php_admin_value memory_limit 40M
And users can't modify them from
Shafiq Rehman wrote:
> Hi,
>
> How can I register a session or cookie for two domains. I want to maintain
> logged user's state when he goes from one domain to other domain.
>
> Example
> Suppose a user is logged in on domain1.com. A cookie is set and user is
> authenticated from database on the
[snip]
> hi,
> i want to register a domain name through NetworkSolutions.com,
> but it require a credit card which i dont have to pay the bill.
>
> if you have a credit card, i can transfer to your account, and then
> you please regiter the domain using my info.
>
> or if you have any other ways
n.g. wrote:
hi,
i want to register a domain name through NetworkSolutions.com,
but it require a credit card which i dont have to pay the bill.
if you have a credit card, i can transfer to your account, and then
you please regiter the domain using my info.
or if you have any other ways to do so.
hi,
i want to register a domain name through NetworkSolutions.com,
but it require a credit card which i dont have to pay the bill.
if you have a credit card, i can transfer to your account, and then
you please regiter the domain using my info.
or if you have any other ways to do so.
p.s. i live
Mattias Segerdahl wrote:
Hyderabd, India?
Would you stop flaming the list with these requests?
Looking at your website, not a single experienced programmer would even
consider applying to the job mentioned. Not only does the website look like
it's made by someone with the know-how of a thirteen
Shafiq Rehman wrote:
Hi,
How can I register a session or cookie for two domains. I want to maintain
logged user's state when he goes from one domain to other domain.
Example
Suppose a user is logged in on domain1.com. A cookie is set and user is
authenticated from database on the basis of that
Shafiq Rehman wrote:
> How can I register a session or cookie for two domains. I want to maintain
> logged user's state when he goes from one domain to other domain.
My Sat TV provider uses something like what you want to allow me to navigate
through their website and the websites of different cha
Shafiq Rehman wrote:
Hi,
How can I register a session or cookie for two domains. I want to maintain
logged user's state when he goes from one domain to other domain.
Example
Suppose a user is logged in on domain1.com. A cookie is set and user is
authenticated from database on the basis of that
Shafiq Rehman wrote:
> Hi,
>
> How can I register a session or cookie for two domains. I want to maintain
> logged user's state when he goes from one domain to other domain.
>
> Example
> Suppose a user is logged in on domain1.com. A cookie is set and user is
> authenticated from database on the
Jon Westcot wrote:
Hi all:
Thanks to those who replied to my earlier question. I understand now
that what I really need to do is to set up a local server and MySQL for my
project, as PHP seems rife with ways to query the local server's folder
structure.
I am assuming that you are only int
On Jan 5, 2006, at 3:49 AM, Jochem Maas wrote:
good a place as any:
http://www.acmqueue.com/modules.php?name=Content&pa=showpage&pid=143
Hi! Thanks for link, visiting now. :)
I might suggest that you first google for 'how to write a search
engine'; then do a lot of reading;
Have done... a
Hi,
Windows package is available at:
http://downloads.php.net/edink/php-4.4.2RC2-Win32.zip
Edin
Derick Rethans wrote:
> Hello!
>
> I packed PHP 4.4.2RC2 today, which you can find here:
> http://downloads.php.net/derick/
>
> Please test it carefully, and report any bugs in the bug system, but
Michael Hulse wrote:
Hello,
Just curious if anyone could give me some google
keywords/links/suggestions/tips/comments/feedback on a good place to
start for writing a search engine script.
I think I might have a good idea for a specific type of search engine.
Basically it would crawl web and
Mathijs wrote:
> Hello there,
>
> I Have a problem with some file writeing.
>
> I Use fopen to create a new file, but that file gets the owner and group
> the same as the apache owner and group.
>
> How can i change it so that the file gets the same owner/group as the
> files i upload with FTP?
Hello there,
I Have a problem with some file writeing.
I Use fopen to create a new file, but that file gets the owner and group
the same as the apache owner and group.
How can i change it so that the file gets the same owner/group as the
files i upload with FTP?
Thx in advanced
--
PHP Gen
Hello!
I packed PHP 4.4.2RC2 today, which you can find here:
http://downloads.php.net/derick/
Please test it carefully, and report any bugs in the bug system, but
only if you have a short reproducable test case. Please do not commit
any changes to the PHP_4_4 tree until PHP 4.4.2 is released, u
55 matches
Mail list logo