t;;
when sending out emails, the most compatible way is to use "\r\n" as
Stuart has pointed out (plain text emails).
~viraj
On Sat, Jul 2, 2011 at 7:15 PM, Stuart Dallas wrote:
> On Sat, Jul 2, 2011 at 9:01 AM, Karl DeSaulniers wrote:
>
>> Hello All,
>> Happy pr
PHP_EOL is the best fit. you do not have to write multiple lines of
code to do the same thing.
~viraj
p.s. cross-posting is bad. removed db. from the cc list.
On Sat, Jul 2, 2011 at 1:31 PM, Karl DeSaulniers wrote:
> Hello All,
> Happy pre independence for my American PHPers. And good
yahoo don't have ssl enabled on all their content it seems.
http://privacy.yahoo.com/privacy/us/security/details.html
~viraj
On Tue, May 31, 2011 at 11:11 AM, Negin Nickparsa wrote:
> it is the output:
> http://www.yahoo.com/?s=https
>
> can i force it to show me
> h
different ways, one simple method the 'header' function.
http://www.php.net/manual/en/function.header.php
~viraj
On Sat, May 28, 2011 at 1:50 PM, Negin Nickparsa wrote:
> i used your exit too,yes it's better to hide the form after registration:)
--
PHP General Mailing Lis
tables for duplicate records. if there
are no duplicates, you are closer to the solution.
~viraj
On Sat, May 28, 2011 at 1:31 PM, Negin Nickparsa wrote:
> I click the submit button just one time! not twice
> but when i go to MySql and select * from it
> it shows me happening two times
&g
hi,
the easiest way to convert a html (even with advance css styling) to
pdf is http://code.google.com/p/wkhtmltopdf/ i guess.
you may need, exec() function and bit of shell scripting.
~viraj
On Fri, Feb 18, 2011 at 2:02 AM, Richard Quadling wrote:
> On 17 February 2011 20:26, Ashle
>
> Remind him that he must logout normally to lock the DB
if you follow the thread closely, this is a requirement. boss may not
logout properly :)
that's why all suggest a mechanical ways for the job. pressure
sensors, cameras etc etc
~viraj
>
>
>
> On Sep 12, 2010, a
On Tue, Sep 14, 2010 at 12:25 PM, viraj wrote:
> got another idea.. setup the database on a machine which can detect
> the availability of the boss. if the boss machine is on.. and
> connected to network.. the script will try to verify the availability
> of the bosses's ip and i
c has to be updated manually in the script) and
starts or stops the database.
this can be done with bit of shellexec and bit of shellscripting, if
on linux with 'arp' (all employees and boss has to be in same subnet i
guess.. )
~viraj
On Tue, Sep 14, 2010 at 7:17 AM, Andy McKenzie
similar to that 'mysql server has gone away' message. (boss has gone
away) :)
~viraj
On Mon, Sep 13, 2010 at 7:13 PM, Bob McConnell wrote:
> From: tedd
>
>> At 9:10 AM -0400 9/13/10, Steve Staples wrote:
>>>here's a silly idea...
>>>
>>>put the
pic in a php list. but i'm sure you will get
some good hints.
~viraj
>
> Cheers,
>
> tedd
>
>
> --
> ---
> http://sperling.com/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
net spend their
early age in incubators not connected to internet. in other terms, in
'local area networks' which use almost same set of internet standard
protocols.
~viraj
>
> Look, I know that I can solve my clients problems by finding a host and
> writing scripts to do what they want
the server side limit imposed
through php.ini. (see http://www.php.net/manual/en/ini.core.php file
uploads section)
>
> Or do I have to do this:
>
>
> $MAX_UPLOAD_SIZE = 30000;
> <<<_END
>
> I'm also concerned that in the first instance, a malicious user can
>
maintain a session, storing checksum in session instead of
client side (hidden field in form) will be more safe/secure and will
help in improving the mechanism (persistent classes, serialized data
etc)
~viraj
> updated or not after the submit? Or is it worth reloading the old values
> fr
On Sun, Sep 5, 2010 at 12:37 AM, a...@ashleysheridan.co.uk
wrote:
> http://www.bash.org/?quote=76416
>
finding the 'tutorial' (tut.php) on php.net should be the first
challenge for any fresher. and a very good reason to encourage
developers to read carefully :)
~viraj
> Me
hi alfredo.. i really love to help.. but could you please explain a
bit clear. may be with sample input arrays and the expected out put
array.
~viraj
On Thu, Aug 26, 2010 at 7:45 PM, Alfredo Palhares wrote:
> Hello,
>
> This is kinda a noob question, but that's what i am :)
looks prettier and clean.
variables - $firstName
classes - MyBestClass
functions - TheGreatestFunctionInTheWorld
classes (auto-loadable) - Service_Maps (eg: maps class in service module)
hope this makes a neat coding style.
~viraj
On Tue, Jul 27, 2010 at 4:08 PM, Andre Polykanine wrote:
$firstName is the most readable.. for variables.
does anybody have negative thoughts on using the same naming format
for method/function and for class names?
i guess it's worth sharing! many thanks!
~viraj
On Tue, Jul 27, 2010 at 3:02 PM, Ashley Sheridan
wrote:
> On Tue, 2010-07-27
8.8.8
hope to open the geo api soon for free/public use.
~viraj
>>
>> Cheers,
>>
>> tedd
>>
>
> Hey Tedd,
>
> Maybe this helps. I used the data files for some other projects..
>
> http://earth-info.nga.mil/gns/html/
> http://geonames.usgs.gov/
>
hi nick,
:: is what we call 'scope resolution operator', $this is your 'current scope'.
i guess you better read
http://www.php.net/manual/en/language.oop5.php.. all sections :))
~viraj
On Sun, May 2, 2010 at 8:11 PM, Nick Balestra wrote:
> I am trying to understand h
/mysql raised error, i conditionally check
whethr it's 'live', 'beta' or 'dev' environment and use different
error_handlers. if it's 'production' environment, the error handler
will write the detail error with all back-trace and possible sql
queries
it's apache2 module for php
#apt-cache search php5 apache
libapache2-mod-php5 - server-side, HTML-embedded scripting language
(Apache 2 module)
~viraj
On Fri, Apr 9, 2010 at 8:32 AM, David McGlone wrote:
> Hey guys, quick question. I had to re-install my Ubuntu, and I forgot
> wha
['my_id]
you can not expect a variable value set in to $_POST array to reflect
on a totally different page without making it a form post (aka use of
proper headers).
i guess, it's time to you to read about session_start() method and the
array $_SESSION available in php :)
~viraj
On Thu, Feb
try http://www.php.net/manual/en/function.preg-replace-callback.php.
you need to read a bit on 'regular expressions'
http://www.gskinner.com/RegExr/ will be handy in crafting a suitable
regex to capture your 'tags'
~viraj
On Thu, Jan 7, 2010 at 2:16 PM, John Taylor-Johnston
if func_get_args supports pass by reference, we could have avoid the
loop and pre-defined arg list.
something like..
extract(func_get_args) :D
cheers!
~viraj
On Wed, Jan 6, 2010 at 11:04 AM, viraj wrote:
> thanks rob!
>
> here goes the working method.
>
> public function bin
#x27; . $i] = &${'arg'.$i};
}
call_user_func_array('mysqli_stmt_bind_result',array_merge(array($this->stmt),$args));
}
$stmt->bind_result($id, $test);
$stmt->fetch();
echo $id, $test;
~viraj
On Wed, Jan
hi all,
i'm trying to write a wrapper function for "mysqli_stmt_bind_results".
and expect it to work the same way it accepts and bind results to the
original function.
the problem is, i couldn't find a way to pass the args by reference
via func_get_args and register the out put from call_user_func
e 'not supported but stable'
http://en.wikipedia.org/wiki/PHP
~viraj
On Tue, Jan 5, 2010 at 7:22 AM, Varuna Seneviratna wrote:
> Since there are two stable versions 5.3 and 5.2 .What is the difference
> between these two streams and What is the need for maintaining two streams?
&
IteratorAggregate over Iterator seems the best fit for the task as i
do not want seeking back and forth.
thanks!
~viraj
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t and tried to turn it off, but didn't help.
this code was working perfect before.. even with this error.. it
works. any idea about a workaround? or some reading suggestions!
many thanks
~viraj
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to the developer and heavily
depends on the specific requirements.
date_parse and strtotime were very useful php functions.
~viraj
>
> Many Thanks
>
> Haig Vancouver BC
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s the child.
use a mysql view or a simple join to join those two tables. then loop
through the result using a recursive function.
~viraj
>
> My problem is when I query the data I can't place the child at their
> appropriate position.
>
> Please you help will be appr
aving time, and even records leap
seconds', does this means, that i do not have to worry about DST
calculations?
many thanks!
~viraj
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nid it returns me the same row! how come this possible?
`id` is a integer and the storage engine is myisam. i'm on debian and
mysql version is 5.0.51a-15
~viraj
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
h the
eos.
but i get this fatal error.. Cannot redeclare class controller in
/home/vir blah blah..
yeah, i know it's because i try to declare the same class name several times.
my question is.. what is the best way to implement this?
many thanks
~viraj
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
eans only single
quotes are escaped as ''. Double quotes, backslashes and NULL's will
remain untouched and unescaped. See also ini_get() for retrieving
its value.
~viraj
>
> See this page for how to disable it:
>
> http://www.php.net/manual/en/security.magicquotes.di
have access to my.cnf, add.. "init-connect='SET NAMES utf8'"
under the [mysqld] section.
happy utf8ing
~viraj
On Fri, Apr 4, 2008 at 3:32 PM, Rob Gould <[EMAIL PROTECTED]> wrote:
> mysql_query("SET NAMES utf8");
>
> This above line of cod
? Why can't you display the thankyou.php
> page inline rather than bouncing off the client?
or you can register the firstname into a session variable and use it
on the landing page.
but what stut suggests is the best.
~viraj
>
> -Stut
>
> --
> http://stut.net/
>
>
(it seems
i'm not clear about those functions yet..). could somebody please help
me on this?
many thanks
~viraj
http://192.168.1.71/\r\n"; .
"IDList=" .
"IconFile=http://192.168.1.71/favicon.ico\r\n"; .
the array
elements. a common data base function to insert the data will ease
your life further.
~viraj
On 5/10/06, Chris Grigor <[EMAIL PROTECTED]> wrote:
morning all,
Is there an easier way of doing the following??
form1 submitting to form1.php
So my question is, if I have a form
time format, time zone or family
name(last name)!!, it will be a real mess!!
just my two cents! if i have misinterpreted something please clear me.
thanks.
~viraj
On 11/3/05, Ligaya Turmelle <[EMAIL PROTECTED]> wrote:
>
> >There already is:
> > http://php.net/imap
iscussion-Installing-PHP-Under-Personal-Web-Server
~viraj.
> (i.e.PWS) so only i am asking how to view the PHP
> pages in my local server (i.e.PWS)as a asp page
>
> thanking you for your kindly reply
> K.Srinivasan
>
> --- viraj <[EMAIL PROTECTED]> wrote:
>
> >
http://www.experts-exchange.com/Web/Web_Languages/PHP/PHP_Installation/Q_21077014.html
~viraj.
On 9/19/05, Mark Rees <[EMAIL PROTECTED]> wrote:
>
> I'm trying to connect to my MySQL server with mysql_connect(...). The server
> is up and running, and I'm running
lr=&oi=defmore&q=define:PHP
> how can i view the php pages in windows98 PWS?.could
please be specific. write a little more, explaining what you want to
do with php and your current knowledge in programming. so the others
on the list can help you better to solve your issue.
~viraj.
er requires some sort of secure login. Could this be the
it depends,
http://www.php.net/manual/en/function.imap-open.php
~viraj.
> problem? If yes, how can it be solved? If no, what other causes could it be?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubsc
no! it's not a Windows World anymore.. ;-)
http://news.netcraft.com/archives/web_server_survey.html
~viraj.
On 9/16/05, Jay Blanchard <[EMAIL PROTECTED]> wrote:
> Howdy group!
>
> As many of you may or may not know, I made the switch to another company
> recently a
this is not a php question..
why don't you google a little bit before make any posts to the list?
http://www.google.com/search?hl=en&q=DIV+tags
anyway, try CSS, you can achieve it using DIV and SPAN tags. do a
little R&D work.
happy scrolling!
~viraj.
On 9/16/05, R. Vijay D
/3948
~viraj.
On 9/13/05, Gustav Wiberg <[EMAIL PROTECTED]> wrote:
> Hi there!
>
> What code are you using? Try with the mysqli...
> http://se2.php.net/manual/en/ref.mysqli.php
>
> /G
>
> - Original Message -
> From: "blackwater dev" <[EMA
another good one, but for intermediates
http://www.zend.com/zend/tut/session.php
~viraj.
On 9/6/05, Robert Graham <[EMAIL PROTECTED]> wrote:
> Nahalingam Kanakavel wrote:
>
> >Hi all,
> >
> >I am new to PHP.
> >I know some thing about SESSIONS in PHP, I am
de your live web site. so
your client can put boot his/her pc with this cd and start browsing
the site.
this way you can use whatever the LAMP combination!
http://www.google.com/search?hl=en&q=howto+remaster&spell=1
http://taprobane.org/
~viraj.
> Runs an apache server, php &am
script.
this is a good starting point..
http://www.webmasterworld.com/forum92/3274.htm
happy .htaccesing
~viraj.
>
> Thanks in advance for your help
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
can you send me the fread() part of your script? and what is the
OS you are tring this?
any how i like to share my coding which I did few weeksback for
one of my Windows buddy.
Vk.
Ragnar wrote:
> Hi Vk,
>
> I tried this beforehand, but to no avail. The documentation
> also states that this
are you uploading the file through a HTML form? if so check the FORM for the
following
hidden input field...
increace the above value (in bytes) to a bit more
value than your maximum
file size you are tring to upload.
happy coding...
Vk.
Ragnar wrote:
> Hi guys/gi
lows...
($tutor_name,$tutor_contact,$tutor_email,$tutor_profile)";
and try, but investigate for "why you are getting two quotes instead of
one quote.
Viraj
[EMAIL PROTECTED] wrote:
Well, I tried that and this is what i got:
INSERT INTO tutor (tutor_name, tutor_contact, tutor_email, tutor_
t;;
then execute the script, and check whether it show s the correct values for the
'$tutor_name', '$tutor_contact', '$tutor_email', '$tutor_profile'.
you will note the problem.
Viraj
[EMAIL PROTECTED] wrote:
Hi all,
I am trying to do a simple INSERT data
if you are porting an old programme, try using "SWITCH", some time back i
successfully ported a lengthy code in to PHP which had many "GOTO"s .
Viraj
note: also, i had to use some parameter passing mechanism.
Justin Patrin wrote:
Nitin wrote:
Hi all,
I was wondering, i
Stephen,
Try Debian Woody (3.0) with latest stable KDE desktop.
You will be ammazed with the GUI, it's like a Dream.. very fancy
, smooth and colourfull.
regards
Viraj
Stephen Craton wrote:
>
> Well, I'm wanting one with a really nice GUI and great functionality. I'll
&g
Thank you Curt for the explanation.
Viraj
Curt Zirzow wrote:
>
> * Thus wrote Viraj Kalinga Abayarathna ([EMAIL PROTECTED]):
> >
> >header("Cache-control: private");
> >
> > p.s.
> > and also if there is any one wo knows what exactly this
[EMAIL PROTECTED]) [-5] - mta166.mail.scd.yahoo.com)
<[EMAIL PROTECTED]>
(reason: 550 Requested action not taken: mailbox unavailable)
can you change the To: to my email address and try. it's
[EMAIL PROTECTED] or [EMAIL PROTECTED] or [EMAIL PROTECTED]
regards
Viraj
Lingua2001 wrote
sion.
try this.
Viraj
p.s.
and also if there is any one wo knows what exactly this header line
means,
please post a brief decription. thanks.
hecchan wrote:
>
> Hi,
> Using IE 6 (XP) i can't see the source generated for PHP even the page
> works properly (It doesn't happ
Hi Nicole,
You can not retrieve information stored in a cookie which set by
one domain from some other domain. Try passing all the information
you want with the image SRC tag.
regards
Viraj
Nicole wrote:
>
> OK. Thanks.
>
> I have the hidden image code:
>
> http://thet
you mean after "" ??? no you do not put.
just think this way, if you want to diplay the HTML content
just jump out by the php code by typing "?>" and back to PHP
by "
> You do realize that you don't need a semicolon right after correct?
>
> -Dan
>
you can write a PHP script to backup the DB to a SQL file and run that
script using crond at scheduled time or periodiacally as you define in
cron
regards
viraj
Shaun wrote:
>
> Hi,
>
> Is there a facility out there that I can use to automatically backup my
> database to m
Seth,
rgd
viraj
Seth Willits wrote:
>
> On Tuesday, September 2, 2003, at 12:06 AM, Seth Willits wrote:
>
> >>
> >>
> >> Lots of
> >>
Seth,
try to mingle PHP and HTML.. that means escape the PHP and jump to HTML
when
you want the HTML.. like this...
happy coding
Viraj
Seth Willits wrote:
>
> I'd like to show
tell you exactly whats going on there.
Viraj
Lingua2001 wrote:
>
> Hi all,
>
> I am trying to solve a problem related to mail( ). I am not
> sure whether it is from SMTP directly or html tags used for html form mail.
> I got the following message, and has
did you solve this problem? i checked the coding in my linux
box, it's working fine.
Viraj
Chris Kay wrote:
>
> You seem confused with POST & GET, instead of using _POST to retrieve
> values from the form, you use $senders_name, and further down you set
> $_POST["msg&
try java scripts, there is a function called "onChange()", you can attach
this
with your combo box and can submit (SELF) the form upon the content change
in
combobox.
I have done this long time back, i'll send you the coding if still i have
that script in my
archives.
Viraj
echo $HTTP_HOST;
did the job perfectly
thanks Justin
Viraj
Quoting Justin French <[EMAIL PROTECTED]>:
>
>
>
>
> Have a look at the output, find the variable you need, then manipulate
> it if needed.
>
> Justin French
>
> On Friday, August 15,
be passed to domain1.php, if the visitor from
http://domain2.com the header hould be pass to domain2.php.
thanks
Viraj
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
70 matches
Mail list logo