I was reading FuseBox's beginners' guide but I didn't completely understood
the way that framework works.
How do you process the data obtained from forms? Is it the same script that
displays the form?
--
*** s2r - public key: (http://leeloo.mine.nu/s2r-gmx.sig)
--
PHP General Mailing List (
[EMAIL PROTECTED] (Jason Wong) wrote in
[EMAIL PROTECTED]:">news:[EMAIL PROTECTED]:
Hi, sorry that I didn't make it clear.
I'm looking for an alternative to php-fusebox.
So I was asking how do you process the data from forms and so.
> On Saturday 14 December 2002 12:2
[EMAIL PROTECTED] (Cesar Aracena) wrote in news:005801c2a3c6$8ac4f190
$4200a8c0@NOTEBOOK:
And the subcategories are related to categories with the Relationships
table?
If that's the case:
SELECT * FROM Relationships WHERE CatId = '1'
And if you want the names.
SELECT * FROM Subcategories as sc,
[EMAIL PROTECTED] (Bruce Levick) wrote in
[EMAIL PROTECTED]:">news:[EMAIL PROTECTED]:
If you want to access the data in an array try $row['field']
> I am connecting to mysql and all works well there. I query a table
> "Illustrations" ($query = "SELECT * FROM Illustrations";), and want to
> print
There are single quotes missing before %s -> '%s'
> $insertSQL = sprintf("INSERT INTO stories (firstName, lastName,
> address1,
> address2, city, `state`, country, postCode, telephone, email, title,
> story) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
>Ge
Hi!
Has anybody got documentation for UltraTemplate? I read the examples on
their website but I didn't understand it very well.
Any doc. would be apreciated. :)
--
*** s2r - public key: (http://leeloo.mine.nu/s2r-gmx.sig)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visi
The only one I know is FuseBox www.fusebox.org.
[EMAIL PROTECTED] (Jeff D. Hamann) wrote in
[EMAIL PROTECTED]:">news:[EMAIL PROTECTED]:
> What application frameworks are avail for php?
>
> Jeff.
>
--
*** s2r - public key: (http://leeloo.mine.nu/s2r-gmx.sig)
--
PHP General Mailing List (h
[EMAIL PROTECTED] (Jason Sheets) wrote in
[EMAIL PROTECTED]:">news:[EMAIL PROTECTED]:
Have you got any documentation of it to share?
> If you go to www.hotscripts.com they have several PHP application
> frameworks listed.
>
> I've investigated PHPLIB, and horde (http://www.horde.org) but wound
Hi everybody, I've trying to store a into a MSSQL Server (7 or 2k) using
an example I found on the web (www.php.net).
Is it possible that PHP (4.3.2) just store 4k of data? Because after
inserting a test image with:
$oDatos is an object that handles queries.
// storing a file
$datastring = jo
[EMAIL PROTECTED] (Baroiller Pierre-Emmanuel) wrote in
news:[EMAIL PROTECTED]:
The field test is defined in SQL Server as "image".
> How is defined your temp_test table ?
> PHP don't truncate content...
> you only need to define a binary blob field and store data into it..
>
> regard,
> P.E. Ba
[EMAIL PROTECTED] (John Manko) wrote in
news:[EMAIL PROTECTED]:
Does it apply also to MSSQL = Microsoft SQL Server?
> Look here
> http://www.mysql.com/doc/en/BLOB.html
>
> Actually, if you don't care if the images can be view from outside the
> DB, you can do what I do.
> I simplely put the nam
Hi, I need to send a reminder to all the users in my website.
To minimize bandwidth I would like to send just an email to a domain and
then all the remaining users in the BCC.
What would be the $to field in mail() since I send all the destinations in
$headers?
Thanks.
--
*** s2r - public key
Hi, I'm running PHP 4.3.2 (cgi-fcgi) (win32).
Everytime I run a script from the command line:
php -q myscript.php
The processor jumps to 100%, on the task manager I see that SERVICES in
consuming 50% and PHP.exe the rest.
I don't know why this happens, the script connects to a sql server I does
[EMAIL PROTECTED] (Joshua Groboski) wrote in
news:[EMAIL PROTECTED]:
but I will get a relaying is denied because the target domain isn't the
same domain I am connected to for eg. yahoo.com
> Why don't you send it to [EMAIL PROTECTED] I think as long as
> the $to address doesn't fail, you'll be
[EMAIL PROTECTED] (Chris Shiflett) wrote in
news:[EMAIL PROTECTED]:
For eg:
If I've got 20 users that have a yahoo email. I just want to connect one
time to send all the 20 messages not a connection for every email.
> --- Javier <[EMAIL PROTECTED]> wrote:
>> I would
[EMAIL PROTECTED] (James Rodenkirch) wrote in news:[EMAIL PROTECTED]
net.com:
And what about the To? Is it possible to send an email without the To?
> in the headers section of the mail() function have a line of text like
> this - you would obviously need to build the list of email address.
>
>
[EMAIL PROTECTED] (Curt Zirzow) wrote in news:20030722165644.GK67309
@bagend.shire:
Ehh you're right, I'll let the mail server to handle that problem. :)
> Why are you connection to yahoo to send this mail? sendmail should
> handle who to connect to.
>
>
>
> Curt
--
*** s2r - public k
[EMAIL PROTECTED] (Chris Hayes) wrote in
news:[EMAIL PROTECTED]:
> Is your script on a yahoo.com PHP-enabled website?
>
> If not: most servers deny access to the mailer because mailers (often
> SMTP servers) with public access have been widely abused in the past,
> especially by spammers. If this
ce in xxx.php
Warning: mssql_free_result(): supplied argument is not a valid Sybase
result resource in xxx.php
Javier.
--
*** s2r - public key: (http://leeloo.mine.nu/s2r-gmx.sig)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi, I've upgraded to the latest version of php last week. Suddenly parts
of code that was working now displays error.
The errors I've found until now are related to Sybase (I use MSSQL 2k as
DB server)
Here is an example:
Warning: mssql_num_rows(): supplied argument is not a valid Sybase result
[EMAIL PROTECTED] (John W. Holmes) wrote in
news:[EMAIL PROTECTED]:
>
> Your query failed. Add some error reporting around mssql_query() to
> find out why.
>
Thanks I'll check that.
--
*** s2r - public key: (http://leeloo.mine.nu/s2r-gmx.sig)
--
PHP General Mailing List (http://www.php.net
[EMAIL PROTECTED] (John W. Holmes) wrote in
news:[EMAIL PROTECTED]:
>>
>
> Your query failed. Add some error reporting around mssql_query() to
> find out why.
>
Hi, I recompiled an older version of php with freetds 0.60 instead of
0.61 and everything start to work again.
Maybe there is som
"Configuration Error: You must rename/copy
config.inc.php-dist to config.inc.php and set your appropriate settings";
exit;
}
The file exists but I don't know why the function file_exists returns false.
I also tried with another file in another dir. like index.php and I got
27;d like to do something like this -
while(list($key, $val) = each($_POST)) eval("\$.$key =
stripslashes($value)");
using a loop to create local variables for each variable in the HTTP Post
array.
I'm having trouble getting this
Can anybody recomend me a "nice" DB abstraction layer that is not
included in phplib?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can anybody recomend me a "nice" DB abstraction layer that is not
included in phplib?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I think you have to populate the data in your pages not to wait
the browser to do the job. Cause sometimes work and some time not.
Craig Donnelly wrote:
> Im using session in my form, there are 6 pages to the form, It all works
> fine, until You work your way back through the form, to ammend the
To access session variables you need to use
session_start() first.
Deval Parikh wrote:
> hi,
> IF I am using this code in one script...
>
> a.php
> -
>
> $userip = $REMOTE_ADDR;
> session_name("sessiontest");
> session_register("userip");
>
> ?>
>
> so how can i use above session dat
What happens if I call session_start() twice?
Does it creates another session?
Cause something odd is going on with this simple script.
if(!SesionActiva()){ -It checkes wether there an active session
SesionCrear(); - It creates the session
}
/*SesionActivar();*/
t; On Fri, 26 Apr 2002, Javier wrote:
>
>
>>What happens if I call session_start() twice?
>>Does it creates another session?
>
>
> It does nothing.
>
> if (PS(session_status) != php_session_none)
> return;
>
> - Sascha
How can I do to avoid creating a session when reload/refresh button
is clicked?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How can I do to avoid creating a session when reload/refresh button
is clicked?
every time reload button is clicked a new file in /tmp is created.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is it possible that everytime un click the refresh button a
new session is created?
Here's my index.php
Every time refresh this page a new session is created.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
There are many Javascript menu editors.
I think that's what you need.
Dan wrote:
> I could do this myself but I don't want to waist time writing something that
> I could have just asked for..
>
> what I need is a menuing system..
>
> When link is clicked the sub-topics appear under the topic yo
Why don't you use javascript to refresh the page from time to time.
Michael Champagne wrote:
> I'm not even sure this is possible without doing a client side java applet of
> some sort.
>
> We are considering porting a standard client/server application to the web
> which updates itself dynamica
What php are you using?
Jean-Louis Letortorec wrote:
> Hello all:
>
> I have a script that looks like:
>
>
> ...
> $name="Project #1";
> ...
> $title="NEW PROJECT: ".$name;
> $a=mail("[EMAIL PROTECTED], [EMAIL PROTECTED]",$title,$body, "From:[EMAIL PROTECTED]");
> ...
>
>
>
> When I execute
How have you declared name?
> $zquery = "SELECT name from users WHERE handle like '$row[handle]';
> $zres = mysql_query($zquery);
> $zrow = mysql_fetch_array($zres);
> $user = $zrow[name];
> $query = "INSERT into hus
Hi, I think if you encode the file with base64 and store it in the
database the size of the document will be more than 1MB sure.
David Bouw wrote:
> Dear Kirk (and Julio)
>
> Thanks for the response..
>
> I don't want to use a link to the images because backing up my data and
> porting it to an
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
What version of php and apache do you use?
Andy wrote:
| leider funktioniert das nicht. nach ausfuehren von configtest bekomme ich
| dann:
|
| Syntax error on line 953 of /usr/local/apache/conf/httpd.conf:
| Cannot load /usr/local/apache/libexec/libp
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
What about MD5?
Jimmy Lantz wrote:
| Hi,
| started playing with Mcrypt and just wanted to ask which encryption
| method makes the stronger encryption?
| (I can supply the necesary keylength).
| Should I go for MCRYPT_BLOWFISH or MCRYPT_TWOFISH? Or no
her
|>types of encryption available with mcrypt...
|>
|>Thanks,
|>
|>Ray Hunter
|
|
| How does MD5 relate to encrypting the file? It's just used as a hash
function.
|
| --thalis
|
|
|>
|>
|>-----Original Message-
|>From: Javier [mailto:[EMAIL PROTECTED]]
|>Se
Hi, I'm new to the newsgroup.
I would like to know how can I do with php to keep user track
and let him or not access to specified pages.
I thought about validating (u/p) first and then giving a session
variable. And then on each script I would check sessionID with
a permissions table.
Have you got the url?
John Fishworld wrote:
> I've seen various tutorials on sessions where they specify the session id
> instead of just using one
> generated by php !
>
> Why ?
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Has anybody uses other engine besides Smart or php-templates (@freebsd
ports)
I trying to get into the subject but I don't know which to start with.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
To do that is it necesary to loop the $result variable and assign each
array($name => $value) ?
> Alternately, you can load all of the unsorted results into an associative
> array, and use PHP's native sorting functions (such as ksort() ) to sort the
> results.
>
>
When should I use require or include?
I read that include copies the content from the file to the script that
is calling it.
And require is like #include in C.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rom it. include() may be conditional.
>
> -Original Message-----
> From: javier [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 28, 2002 4:44 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] require or include ?
>
>
> When should I use require or include?
> I read that
Have you got access to your host machine?
You can send messages to your local user a then see if they reach
destination.
Chuck "Pup" Payne wrote:
> I have just install a program called Web Calendar. It suppose to be able to
> send reminders via e-mail but I am not sure if PHP is set up to send e
Is there any free app. for php coding? I tried komodo but I can't get it
to work in debug mode. Also tried Zend's Studio but it expires. :(
Is there any free choice?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ivan Voras wrote:
> Can anyone tell me how to get java support for php working? I compiled
> apache with -pthread option, I properly configured php.ini
> (phpinfo() agrees), but I cannot overcome this:
>
> (the message appears as a PHP error when trying to create any java objects)
>
> Fatal erro
t;
> - Original Message -
> From: "javier" <[EMAIL PROTECTED]>
> To: <>
> Sent: Wednesday, April 03, 2002 4:40 PM
> Subject: [PHP] php+myslq+IDE
>
>
>
>>Is there any free app. for php coding? I tried komodo but I can't get it
>
I trying to code a kind of DB wrapper.
So when is dbQuery turn I run into trouble.
I read in php manual that refrences are not like C pointers. They just
point to the same content.
I want to return the result from a mysql_query
but if I do something like this:
function bdConsultar($strCon)
I thought that apart from returning an id the result set was created
within the scope of the function so when the function finishes the
resulted was deleted;
But since is just an id an the result is stored somewhere else I
wouldn't need any reference.
btw where can I read about references bes
Opossed to my thoughts worked fine.
Rick Emery wrote:
> What happened when you tried?
>
> -Original Message-
> From: javier [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 04, 2002 1:01 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] references a functions
>
>
Will be any changes to mod_php4 since the release of apache 2.0.35?
I wanted to compile it (freebsd ports) with a apache 2.0.33 and I
had problems while compiling.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does templates (eg php-templates or Smarty) fill automatically listboxes?
Or do I need to code it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does templates (eg php-templates or Smarty) fill automatically listboxes?
Or do I need to code it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
But does it use templates? I want to use templates not functions that
generates html.
Analysis & Solutions wrote:
> On Wed, Apr 10, 2002 at 06:32:18PM -0300, Javier wrote:
>
>>Does templates (eg php-templates or Smarty) fill automatically listboxes?
>>Or do I need to co
Hi
I ve a little script to validate a user using an Apache htpasswd file.
I want to know how could/should I generate a crypted hash (with crypt or
md5) with the entered password to match the password in the htpasswd file.
I know how to use md5 or crypt functions but passing them entered passwor
ust yet and can't
>verify this, but use the steps as a guide to building your
>implementation.
>
>Post some code if you're still having trouble,
Hi
Thanks for your help.
I checked my PHP support CRYPT_MD5, then I did the following:
I've generated a user javier with pas
On 07/07/2005 at 14:23 Richard Lynch wrote:
>
>Aha!
>
>Since your output has an extra '$' after the $apr and before the
>1$n0/. I'm gonna go out on a limb and suggest you probably shouldn't
>add the '$' to the front of your salt.
>
>You're adding it, and crypt() is adding it, and you've got to
can you do method overloading in php as you can in java?
Javier
_
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
--
PHP General Mailing List (http://www.php.net
You can play with a $_SESSION var, ..
Imagine that you have the file a.php with ..
And you want b.php that can only be executed after a.php:
And so ...
-Mensaje original-
De: Doug Wolfgram [mailto:[EMAIL PROTECTED]
Enviado el: martes, 26 de agosto de 2003 17:45
Para: [EMAIL PROTECT
Hi all,
Where does PHP get its settings if php.ini file doesn't exist?
BTW- I want to enable sockets that are not enabled. Could I do that without
creating a php.ini file?
Regards,
Javi.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've been developing a simple (protecting nuclear secrets it aint) login /
authentication class library.
This code is designed to -
1. check unname & password are completed
2. check uname & password contain only permitted chars (a-z,1-9)
3. match user against dbase user table
4. generate a uniq
For a really good overview of the OO programming read "Thinking in Java" by
Bruce Eckel. What you learn can then easily be applied to your coding
practices in PHP.
The author has made the book available for free from his site
www.mindview.com
_
is there a more programmatically elegant way of saying...
$isError = "";
function main() {
doStep1();
if (!$isError) {
doStep2();
}
if (!$isError) {
doStep3();
}
// etc. etc.
}
function doStep1() {
if ($something) {
$isError = 1;
}
}
f
is more elegant than using a
series of if() statements.
Thanks,
Javier
>For steps and sequences, I always use switches. Most commonly associated
>with the "action" variable, it would look like this:
>
>switch($action) {
>default:
> // what to show if no var
i'm using the following code to create a directory :-
$temp = exec("mkdir $path");
it doesn't work...
i've validated the $path var which is correct. i suspect it is a
permissions issue.
what should i look for to resol
'::datetime)");
Table looks like this -
CREATE TABLE "files"
(
"filename" oid,
"type" varchar(30),
"size" int,
"uploaded" datetime
);
Any Ideas?
Saludos,
Javier
the filename field is of type 'oid' rather than 'character varying'...
yep, inserting a string into an oid feild will make the db baarrrfff...
Saludos
Javier
_
Chat with friends online, try
p the cookie - either way I get logged out.
Other browsers (NS4, IE5, IE5.5) seem okay.
Any Ideas?
Javier
_
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
machine generated xml privacy statement,
>then stability with regards
>to cookies is not guaranteed. Do a search and read up about it. Check out
>w3c's site.
>
>- Original Message -
>From: "Javier Montserat" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTEC
.
Writing...
if (isset($_GET['foo'])) {
$foo = $_GET['foo']
} elseif (isset($_POST['foo'])) {
$foo = $_POST['foo']
}
when I want to use $foo is a bit annoying, but i haven't figured out a more
elegant way of saying this yet.
Javier
>>
That
make a selection >
Bueno,
Javier
--=_NextPart_000_0055_01C252D0.ADA4A940
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello,
how do I send information to a php page from a menu list?
When a user selects an ite
ut
re-reading the directory each time?
Would an associative array structure be better suited to this type of
operation?
Thanks for your insight,
Javier
_
Chat with friends online, try MSN Messenger: http://messenger.msn.com
really simple one -
does someone have a bit of code that will variously display 'good morning',
'good afternoon', 'good evening' based on the current time?
good morning from london,
Javier
_
Se
i think because you assign a method to the variable rather than a data
member you need to include parenthsis...
a::test()
>>
I have problems to make a dynamic call, please help me
returns:
Fatal error: Call to undefined function: a::test() in
/usr/local/share/version2.mypsi.de/index.
s fun to play with code...
Hope this helps in some way,
Javier
/*
But this syntax doesn't: and this
would be prefered, as it doesn't directly
access the 'bars' variable...
*/
$reference_to_bar = $this->GetBar($id) ;
echo $reference_to_bar->marklar;
$reference_to_bar->
I believe the following discussion from Web Application Development with PHP
4.0 (available online at http://safari.oreilly.com) may shed some light on
your question...
>>
Whenever PHP encounters a statement for which write access to a variable is
needed, it evaluates and calculates the data
>Spend some time learning about xml and you won't regret it
Could you (or anyone else on the list) recommend some good resources (Books
/ Websites) for learning XML and XSLT?
Thanks,
Javier
_
MSN Photos is the easies
i want to format the filename of an uploaded file as follows :-
-- replace blankspace with "_"
-- remove any illegal characters.
Which string functions should I use to do this?
Thanks,
Javier
_
Join the worlds larg
$filename = strtolower (eregi_replace ("[^A-Za-z0-9_.]", "_", $filename));
seems to be what I want.
thanks to everyone for the help
Javier
_
Send and receive Hotmail on your mobile device: http://mobile.msn.c
would this be done?
Thanks,
Javier
_
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
't seem to work (maybe its me).
Thanks
Javier
_
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
I've successfully been using the following code to set cookies in IE / NS /
Mozilla. I've just bought a new laptop and in IE 5.5 and 6 the cookies are
not being set by my site. Other sites (msn etc) set cookies fine. I've
installed Mozilla and this accepts cookies fine. WTF is wrong wit
ahhh. a combination of incorrect timezone on my new laptop and the server
time being slightly out was causing my head a lot of pain...
thanks for the pointer,
Jav
>From: Marco Tabini <[EMAIL PROTECTED]>
>To: Javier Montserat <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTE
I want to make it easier for people to download files from my website by
having the download start when the visitor clicks a link (as opposed to
right click / save target as).
How can I achieve this with PHP? Do I include the file in a header() call ?
Thanks,
javier
ing 'magic bytes' of
known file formats.
hope this is useful to some of you...
javier
From: "David Russell" <[EMAIL PROTECTED]>
To: "'Javier Montserat'" <[EMAIL PROTECTED]>
Subject: RE: [PHP] left click downloads
Date: Tue, 12 Nov 2002 13:46:58 +02
rather than using echo why not just do this -
?>
onresize="window.location.reload(false)" topmargin="1" bottommargin="0"
leftmargin="0" rightmargin="0">
?>
this way you don't have to worry about getting the quotes right...
Hello,
"Aaron Merrick" <[EMAIL PROTECTED]> wrote:
Folks,
Can'
e appears. However -
IE on a MAC loads the file inline rather than throwing the save prompt.
Any ideas?
Javier
_
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
--
ding
email to multiple recipients etc.
Have Fun,
javier
_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
here's a couple of the more tricky code snippets which should make it easy
for folks to see how a multiple file upload select can work - the rest is
basically a lot of interaction with the database - storing / retrieving the
upload list.
Its a bit tricky but worth it though - the users responci
hello people, i seem to have a little problem here. I
hope someone could help.
i have a machine running apache on linux and another
one with apache on winxp.
i've downloaded and installed the php-4.3-alpha
version s for linux and windows. mysteriously, the
php_pgsql.dll is not included in the w
Yes, I gree with all.
To test their mySql level, you can show them two tables, and the results from a join
between the two tables, so you ask them for what is the SELECT statement to get that
results.
Example ..
Table1:
++-+-+--+
| id | name| surname | depa
I think that may be 'problem' from sendmail .. mail() function under
linux only interacts with sendmail, it doesn't contact to the remote
SMTP to leave the mail. Do you have the same sendmail version in two
machines? You should compare both sendmail configuration and try to
check the speed from a
May be the machine of your friend has a better network output than your
machine :)
-Mensaje original-
De: David T-G [mailto:[EMAIL PROTECTED]
Enviado el: miercoles, 27 de agosto de 2003 11:59
Para: PHP General list
CC: Javier Tacon
Asunto: Re: [PHP] speed of mail() on two servers
There are a lot of methods. The most common is using an array:
$_SESSION['sv_CampusList'] = Array ("1","2","3","4","5");
foreach($_SESSION['sv_CampusList'] as $id) {
echo $id;
}
If you want to use sv_CampusList as string:
$_SESSION['sv_CampusList'] = "1,2,4,5";
$tmpArr = explode(",",$_SESSION
For example, you want execute a script every day at 09:00 am:
$ crontab -e
And put this line:
0 9 * * * /path/to/your/php/binary /path/to/your/script.php
Crontab only can say if the cron was executed correctly or not, but it doesn't say if
your script in php has sent the mail correctly or not.
You can write a little script with expect (man expect) and execute it from php with
exec().
Other solution its to write a .procmailrc in root that executes the reboot when coming
a mail with some text in subject or boyd, so, from php you only need to send a mail.
-Mensaje original-
De
1 - 100 of 237 matches
Mail list logo