Chhai T <[EMAIL PROTECTED]> schrieb am 05.05.2004, 09:55:25:
> Is there an easier, quicker way to access the values in this array returned
> from a SOAP request? This is the result of my print_r() :Array
> (
> [0] => Array
> (
> [name] => [description] => yyy
ndows (98SE, 2000) and server is Linux/Apache 1.3.
Any help appreciated! Big thanks in advance!
Best regards,
Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
anx,
> Robb
Hi Rob,
maybe you can use the ternary operator syntax for the affected lines:
echo (conditional) ? 'lines of JavaScript'
: 'other lines of JavaScript';
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
o a solution?
>
> Thanks,
> Rob
Hi Rob,
usually it works by just putting plain JS/HTML into the page outside of the
php code sections. But without seeing any code we cannot help you.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
serID='{$_SESSION['logname']}'";
Or concatenate the string:
$MembersDataQry = "SELECT * FROM MembersData WHERE UserID='" .
$_SESSION['logname'] . "'";
Remember to apply mysql_real_escape_string() on any values used within a
query.
Regards,
Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
urse). I'm getting "DB unknown error" messages after the query. The
> same query from the mysql client works fine, there are no connection
> problems... anyone has tried PEAR with mysqli?.
Hi,
you should ask this on the PEAR general mailing list.
Regards, Torsten Roehr
>
n. Thanks.
> Jeff
It surely will not allow a dollar sign. Otherwise just test it with various
values!
You might take a look at PEAR::Validate for checking *true* numeric values:
http://pear.php.net/package/Validate
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To un
PEAR packages might help you:
http://pear.php.net/package/DB_NestedSet
http://pear.php.net/package/Tree
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7;s LiveUser:
http://pear.php.net/package/LiveUser
Takes a bit of time to set up but should be exactly what you are looking
for. It handles user authentication (login), session timeout and user
rights.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Pt2002" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thank you for your suggestion.
> I've had already browse pear classes but didn't want to use them.
> I've found some tips and now I can show the tree but I also need to have
all
> the data in an array and that's the problem now.
"Aaron Todd" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> So far I have made this work. But now I have to ask...what about a pdf
> file? I cant add php code to it so what do I do. I need to be able to
> restrict the pdf so a user can only get to it during a current session.
>
>
"Pt2002" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi
> Sometimes, some clients just want a few scripts. sometimes to fix or to
add
> some features in sites or apps already in production and that need to be
> something easy to install. kind of upload and go. They don't want a bu
"Aaron Todd" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I hate to sound ignorant, but how do I get a file out of a .htaccess
> protected directory without logging in again? You cant use the normal
> syntax of http://username:[EMAIL PROTECTED] anymore. Microsoft "fixed" that
> "
"Aaron Todd" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Do you recomend the same for downloading of a file. I have a few zip
files
> that need to be protected too. Do I have to open the file using fopen and
> then write it to the users machine using fwrite?
>
> Thanks,
>
> Aaro
Storing the session data in a database might solve this problem.
Regards, Torsten Roehr
>
> > -Original Message-
> > From: BOOT [mailto:[EMAIL PROTECTED]
> > Sent: Friday, August 06, 2004 1:26 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] Session proble
> >
> > i've look through lots of scripts, and decided to check here for
additional
> > input.
> >
> > thanks
> >
> > -bruce
>
> There is Pear::Auth. I've had good experiences working with it.
>
> http://pear.php.net/package/Auth
>
>
ntents in this form, e.g. for looping through each
line and applying a function or whatever
- fread() requires a file handle that you have to create with fopen(), so
file_get_contents() is kind of a shortcut for fopen()/fread()
Hope this helps.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
al/en/function.mail.php
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
l display functions -- showleft() -- showcentre() ,
as
> well as the connect() function.
Hi Andre,
make sure to use require_once for all includes. This will make sure to only
include each file once and will trigger a fatal error if the file cannot be
found because of a wrong path or whatever.
Hope t
#x27;t show up. Is it
> impossible or do I do something wrong?
> My goal is to have a random image print in the page,
> that's why I want to use a variable.
>
> Thank you for your good advices.
Variables in single-quoted strings are not evaluated. Either user double
quotes or conc
ossible?
>
> Regards,
> Juan
Please specify a bit more clearly *what* data you want to load *from where*
and insert into *what*. Then we may be able to help you.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Torsten Roehr" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Juan Pablo Herrera" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hi!
> > i need do two querys in one.
> > First query is a load dat
ng by date impossible - do you really want this? You
should put formatting issues into your application and rely on the ISO
format in your database.
Regardsm Torsten Roehr
>
> Has anyone else managed to do this or use any workarounds I could use
> perhaps...?
>
> I'm just getting a
ending the session id manually to the links?
Try these settings:
session.auto_start= 0
session.use_cookies = 0
session.use_trans_sid = 0
Put session_start() at the top of ALL your pages and write your links this
way:
to page 2
Hope it helps,
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lue2
>
> ?>
> echo"";
> ?>
>
Hi,
if you use the input type 'image' you have to check for name_x or name_y, so
in your case:
$_POST['submit'] = isset($_POST['submit']) ? $_POST['submit_x'] : '';
Whenever you have problems like this do a print_r($_POST) at the top of the
second page. This will show you all submitted values.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
est...
>
> TIA
>
> Rene
> --
> Rene Brehmer
> aka Metalbunny
>
> If your life was a dream, would you wake up from a nightmare, dripping of
sweat, hoping it was over? Or would you wake up happy and pleased, ready to
take on the day with a smile?
>
> http://metalbunny.net
ion_is_registered($_SESSION['login']))
> echo("seesion is reg");
> else
> echo("seesion not reg");
>
Hi Angelo,
where's your session_start()? Also you can use isset() instead of
session_is_registered():
if (isset($_SESSION['login']))
Regards,
> [reply]
> Please try if those changes solve your problem. Whenever one of
> your values
> will contain a single quote you will get an SQL error - so use
> addslashes()
> or (better) mysql_real_escape_string() on all insert values.
> [/reply]
>
>
> That is my whole point though, is that it doe
uot;lifetime" for each page. When this time has
passed a new cached file will automatically be created. Cache_Lite is
managing this for you.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Angelo Zanetti" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> ok I thought the problem was fixed but its not. The session variable
> gets registered correctly however when I go to the next page and too see
> if its still registered using the isset() function its not registered
> an
"Angelo Zanetti" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi Matt,
>
> The session_id() is correct on both pages. Some info I forgot to add is
> this:
>
> on my first page:
>
> session_write_close();
> header("Location: franchise_menu.php?".SID);
> exit();
>
> however on my fra
act my host?
>
> Thanks,
> Mag
You will find answers to your questions on http://pear.php.net. Or post your
questions to the pear-general list.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
se double quotes for
your HTML attributes so single quotes in your strings won't be a problem.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
bute if your pictures are not
in the same directory.
Hope this helps, regards.
Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
h the array with foreach() and check each element for the
value 1. When you have found the first array element with a value of 1 exit
from the loop with break.
Hope this works for you.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Ni Shurong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > Hi all
> >
> > I have data in one field in a database, all is numbers that can be
> > duplicated.
> >
> > 200, 200, 100, 50, 30.
> >
> > i need to get all data from this field, terminate the duplicates and get
the
> > max
ing any other variable into the session:
$_SESSION['object'] =& $object;
(You don't need the ampersand in PHP5.)
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ll want to do this...
>
> nothing jumps out at me searching google/php.net for this...
>
> thanks
What about pointing a link to the file?!?:
link
If the file is outside of the webroot root or in a protected directory you
can use PEAR's HTTP_Download:
http://pear.php.net/packag
validate that $offset is an integer before
using it in the query.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
like this:
while ($registo = mysql_fetch_array($sql)) {
echo '' . $registo[1] . '';
}
You can use mysql_fetch_assoc() and then access the values by their column
name:
$registo['column1'], $registo['column2'] etc.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t variable with a .htaccess file. Search the
archives to find out how the exact syntax is.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
quot;var"]);
>
> Nicke
Hi Nicke,
unset($_POST['var']) *should* work - it works for me (PHP 4.3.8). You could
also do $_POST = array() to reset all values.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nload:
http://pear.php.net/package/HTTP_Download
This package is exactly what you are looking for.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
o.php script, it will
> not run.
>
> Thank You
> Steve
Hi Steve,
try setting the file permissions of gogo.php to 705.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ad the manual:
http://de.php.net/manual/en/function.imagesx.php
You need an image resource to get the file size.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
eads:
>
> load_orderinfo() = Object;
>
> On the complete_order.php page where I call the clear_orderinfo() function
> it goes back to:
>
> load_orderinfo() =
>
> but it on any subsequent page the output returns to:
>
> load_orderinfo() = Object;
>
> But afte
27;t answer there is the PEAR general mailing list to help ;)
Best regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Redirect via meta-refresh tag after 2 seconds to page2.php?js=off
2. Redirect via JavaScript immediately to page2.php?js=on
If JS is enabled the second redirect will be processed, if it's off the
first one will. Then on page2 you'll have $_GET['js'] with on/off as the
tried to use
> ini_set("register_globals", FALSE);
> but it still doesn't work.
> On php.net manual I can find WHAT I have to do and reasons but not HOW.
>
> Thanks for any help!
>
> Afan
Please don't hijack other people's thread: Try this at the top of *e
t me toward a
good
> one.
>
> Thanks,
>
> Aaron
Hi Aaron,
encrypting passwords in the database is generally a good idea. You can use
md5() as an alternative to crypt(). MySQL itself has an MD5 function you can
directly use in your SQL statements.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that one step further and don't know how...
Please specify what you mean with "one step further"? You can assign the
contents to a variable and write it to a file.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;
> -Brian
Hi Brian,
I found this link on the page you mentioned:
http://pear.php.net/package-info.php?pacid=18
Click on "download", download the archive and extract it to your PEAR
directory.
Best regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
wants
to
> share the record with. He can choose particular Users by clicking on their
> name to share that record with. How do I make that happen?
>
> Any suggestions?
>
> Thanks.
I guess you need to create a table that maps users to records with two
columns $userID and $recordID. T
.php?factura_id=$factura_id','Ficha','700',
> '300','no','left');return false\" onfocus=\"this.blur()\">
> height=\"31\" border =\"0\">";
>
> And in the pop-up I do like this.
> echo&
.php?factura_id=$factura_id','Ficha','700',
> '300','no','left');return false\" onfocus=\"this.blur()\">
> height=\"31\" border =\"0\">";
>
> And in the pop-up I do like this.
> ec
"Andre" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> But don't work that's is my problem,
> And I think this don't work because the pop-up window is a frame
> Help??
Have you seen my other post from two minutes ago?
You mean your popup contains a frameset? Then post your frameset
rameset to the page that will be
using the variable. Change the first line into:
Then in imprimir_factura.php you can acces the variable via
$_GET['factura_id']. This should work.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ed this list to over 200 but still get
> complaints that certain towns are not listed.
Ask the UK postal service (or whatever it is called). They should have such
a list/directory containing all cities with zip codes in digital form
(probably on CD-ROM).
Regards, Torsten Roehr
--
PHP General
db means the value is passed by reference. Otherwise a copy of
$db would be passed to the method. See here:
http://de2.php.net/references
With PHP5 variable assignments or passing variables to functions by
reference is standard.
$this->db is the PHP equal to this.varName. You access property db
insert your data
}
I hope you get my point. For user convenience you could use JavaScript's
onChange() event to auto-submit the first three selects when the user has
selected a value.
Best regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
g your PHP code at the top of the page? The blank line between
and might cause the error.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
provide $_SERVER['SERVER_NAME']? For me it outputs the
domain like "google.com".
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
g dumped as XML.
>
> I'm using PHP4 right now.
>
> thanks,
> - Markus
>
Hi Markus,
take a look at this package:
http://pear.php.net/package/XML_Tree
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ue1', 'value2', 'value3', 'value4');
If your function takes more than four parameters an associative array would
be the way to go (your first example). You might consider splitting it up
into several functions if it takes that many arguments.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
some work to
adapt your application. Another advantage of this would be that you would
not have to rely on your user's cookie setting being enabled.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
0 users interested in doing searches
> on this info, 500 x 3.5 minutes per search is too much. Just wondering
> what the experts would suggest for managing a database this size and
> getting the search times down to something manageable.
>
> Thanks in advance for your advice
>
> A
e 5 updates stored in the database at all
> times.
>
> Thanks
> ConbuD
Insert your new item, then delete the oldest one:
DELETE FROM table ORDER BY date asc LIMIT 1
Whereas 'date' is your date column.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rmdir($sourceDir);
}
}
closedir($handle);
}
}
It will delete all direcotries and files *inside* the specified directory.
So the directory itself will not be deleted.
Just call it like this (w
ned with, and starting a new session?
Again, use a header redirect.
> thanks all of you. I **LOVE** using this PHP 'thang' :-)
>
> Dennis
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rsion anymore, so just
delete the first of the upper two lines.
Excerpt from the manual:
>>>
Caution
If you are using $_SESSION (or $HTTP_SESSION_VARS), do not use
session_register(), session_is_registered(), and session_unregister().
<<<
Regards, Torsten Roehr
--
PHP General Ma
// remove directory if it's not the root one
if ($level > 0)
{
rmdir($sourceDir);
}
}
closedir($handle);
}
}
It w
rmission is completely
executed?
>
> I know it is not a simple question, but I really need a solution to
> ensure the safety of my system.
>
> grtz & thanks
>
> DragonEye
I'm not completely sure if I understand your question but PHP will process
one function after the
> // {{{ item
> /**
> * Returns the nth index given in item.
> *
> * @param inte $a_iIndex - index in list
> * @return mixed node object or null if item was not found
> * @access public
> */
> function &item($a_iIndex)
Ar
null will kill c but not b
>
> /Erik
OK, but what about your interface problem? Could you solve it with this?:
>>>
I think you have to also define the arguments you want to use for item() in
your interface:
function item($a_iIndex);
<<<
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e. Try
this at the top of your second page:
print_r($_SESSION);
Then you will see which values are set in $_SESSION and you can check if
that is what you are expecting or not.
Another idea would be using a ready made authentication/permission package
like PEAR::LiveUser:
http://pear.php.net/package/LiveUser
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
SION['uname'])) {
header('Location: ../../index.php');
exit();
} else {
// output contents
}
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tom PEAR dir and set the
include path to it (maybe just in the script where you need it).
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
b = &$_SESSION['database'];
>
> Everything goes screwy after a call like this.
>
> Thanks in advance!
What do you mean with "screwy"? Change $_SESSION['database'] after your
second line and print out $this->db to see if that was changed too.
Regard
b = &$_SESSION['database'];
>
> Everything goes screwy after a call like this.
>
> Thanks in advance!
What do you mean with "screwy"? Change $_SESSION['database'] after your
second line and print out $this->db to see if that was changed too.
By t
> i have used perl get url option and then parse the
> file, with the date and time function...to do this.
>
> pls help.
> thanks in advance
> vijay
http://de3.php.net/curl
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Bharadwaj
It will work if you specify a *full* URI:
header('location: http://www.yoursite.com/page.php'); exit;
Pay attention to the exit.
Regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
our method:
function Entry() {
global $coreLists;
$users = $coreLists->UserList();
}
2. Access it via the superglobal $GLOBALS:
function Entry() {
$users = $GLOBALS['coreLists']->UserList();
}
3. Pass the variable it to the class constructor and assign it to
#x27;];
// load all associated orders
$tempResult = mysql_query('SELECT * FROM orders WHERE customerID = ' .
$row['customerID']);
while ($tempRow = mysql_fetch_assoc($result)) {
// output order data if required
echo $tempRow['orderID'];
oronto from 13th to 16th, unfortunately. So all the best and
good luck to those that are able to attend!
Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
was discussed some days ago on this list. Please search the
archives. If those messages don't help come back again.
Best regards, Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d putting "exit;" behind a header()
redirect to absolutely make sure that no code is executed afterwards in the
script:
header("Location: http://www.yahoo.com";); exit;
Without "exit;" the header redirect soemtimes didn't work for me.
Regards,
Torsten
a new session
will be started.
See the part named "Passing the Session ID" on the following manual page to
see how to do it:
http://de2.php.net/session
Regards,
Torsten Roehr
>
> Thanks in advance for your help,
>
> Bob Bruce,
> Winnipeg, Manitoba
> Canada
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
l
elements and subelements and use unset() to remove the unwanted array
elements:
foreach ($foo as $key => $value) {
foreach ($value as $subkey => $subvalue) {
// put your check logic here
if ($foo[$key][$subkey]['expires'] == '') {
unset($foo[$key][$subkey]);
}
}
}
What do you think?
Regards, Torsten Roehr
>
> Thanks again,
> Burhan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Burhan Khalid" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Torsten Roehr wrote:
>
> > "Burhan Khalid" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> >
> >>Greetings everyone :
> >>
>
> Well, it does some sorting, but not quite what I'm after :(
>
> I've managed to get the list so that all the (sub) entries are sorted in
> the correct order. Now its just a matter of finding the highest expire
> date for /each/ domain, and delete the other entries for that domain.
> So, in the e
> > OK, so it's just the other way round - I see. Instead of deleting the
entry
> > with the highest expiry date we delete all the others:
> >
> > foreach ($foo as $key => $value) {
> >
> > $tempArray = array();
> >
> > foreach ($value as $subkey => $subvalue) {
> >
> >
alue of its
parent menuItem. Then you recursively load the menu structure. I think there
are some good PEAR classes to do this.
Regards,
Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n was anyway. :)
>any and all comments are appreciated!
>thanks,
>chris.
Hi Chris,
the second approach is definitely much, much better and the right way to go.
But what exactly is your QUESTION?
One personal suggestion: you could directly put the code from
initialize_customer() into the con
>"Chris W. Parker" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>Torsten Roehr <mailto:[EMAIL PROTECTED]>
on Monday, April 19, 2004 10:46 AM said:
>> the second approach is definitely much, much better and the right way
>> to go. But
unction.ob-start.php
Maybe the user comments help. Just an idea.
Regards,
Torsten Roehr
>
> Thanks in advance
> Aleksei
>
> -
> Hot Mobiil - helinad, logod ja piltsõnumid!
> http://portal.hot.ee
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
PEAR classes to see which
directories are expected by the packages. But your draft looks OK.
Regards,
Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
reciated.
>
> Yury
For accessing the POP3 mail server you could use PEAR's Net_POP3 class:
http://pear.php.net/package/Net_POP3
Haven't tried it myself yet, though.
Regards,
Torsten Roehr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Take a look at eval():
http://de2.php.net/manual/en/function.eval.php
Regards, Torsten
"Enfors Christer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi. I need a function that takes a mathematical expression in the form of a
string, and calculates the result. PHP itself doesn't
"Edward Peloke" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> What is a good tool to use for documenting php? I am looking for
something
> like javadoc. I think there is phpdoc, just not sure if it's any good or
if
> I should try to create my own.
Hi Eddie,
try PHPDoc
Maybe you could group them by purpose and put them into different include
files. Then you just include the file containing the functions you need at
this point in the script.
Regards,
Torsten Roehr
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[snip]
1 - 100 of 331 matches
Mail list logo