logs archiveIRC Archive / Freenode / #php / 2006 / March / 7 / 1
zircu
hmm
Kony24
yeah
itrebal
Kony24: i'd like to do this as well
Kony24
i am trying to basically use gmail for my script, to be able to have record of my outgoing email
itrebal
can you connect through regular smtp?
Kony24
nah, it has to be secure
so its a secure
itrebal
bah, thats disapointing
i want to do this 'cause my ISP wont let me run a mail server :)
morbius
anybody have anything (referrences) for paypal credit card authorization?
zircu
itrebal: both inbound and outbound?
         

itrebal
zircu: correct
lig
Morning
xpowerstudios
itrebal, got the same problem. inbound
run an smtproute to a canuck server
zircu
the only way i've seen it done is via a ssh tunnel
super3boy
http://www.gamemaker.nu/upload/image/robot.jpg
zircu
althought I dont think it will help in this case
itrebal
xpowerstudios: canuck?
Malachi
I want to run php pages on my local pc for testing purposes.
How would I do this?
xpowerstudios
itrebal, ;) canadian
itrebal
xpowerstudios: heh, i'm probably upgrading my connection to a business class, so i can then run the mail server
zircu
morbius: paypal has a bit of their own documentation on this
tekHneEk
is there a way to minimize all functions in zend studio with 1 key?
xpowerstudios
itrebal, what you'd need is a relay on a host that can route your smtp, if you got a buddy with a email serv , check with them if you can. best way to do it so far. or yeah upgrade
jaredx
Is there any way using the imap function to list the size of an attachment to an email?
or pull the information
itrebal
xpowerstudios: i've tried, i've yet to get a friend with a mailserver
(taht will let me use it)
xpowerstudios
itrebal, ouch.
itrebal
heh
zircu
hmm
xpowerstudios
itrebal, what kind of amounts are we talking about? (email wise)
DShadow
curl question: if I curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); because of bogus certs, does the connection remain encrypted?
         

itrebal
xpowerstudios: very little, i have a VB board that would send email, and then the occasional mail script i setup
Wizz_Kidd
http://www.lanceit.com/temp/
hows that looking now
xpowerstudios
daily, might be able to get the word around to the canadian co and have you route there as well, got a limit to it though but for home boxes it shouldn't be of problem
itrebal
that'd be cool
zircu
Wizz_Kidd: rather greenish
itrebal
Wizz_Kidd: yea, rather green, maybe dim it a bit...
xpowerstudios
i'll see what i can do once he gets back
Wizz_Kidd
itrebal: will do
itrebal
thoughy i like it
Wizz_Kidd
i am trying to make a user friendly appeal
itrebal
xpowerstudios: alrighty, how long till then?
Wizz_Kidd
alot of hard work here guys
itrebal
i see that
xpowerstudios
itrebal, checking right now, he might be out on a route, but i'll send him an email
zircu
Wizz_Kidd: tone down on the neonish green for those headings
Wizz_Kidd
zircu: yea i a m
itrebal
xpowerstudios: alright, should i message you later today? or tomorrow? or will you contact me :)
xpowerstudios
im in here rest of the day prob week as well =) but yeah you can throw a word to jimmie@xpowerstudios.com later so i can get your email
probably***
itrebal
ok
sent
xpowerstudios
got it
itrebal
yea, i use GMail to send email through my domain
Kony24
itrebal: could you show me an example? i've been struggling to get this done
xpowerstudios
Gmail works well i see =)
Wizz_Kidd
http://www.lanceit.com/temp/
in the top right should i leave those colors as is
or switch the yellow
itrebal
Kony24: i havnt gotten that working, i ment i used google's tools on their web-based thigns to allow me to
Wizz_Kidd: not yet, a little bit dimmer... and the top-right is just great
__a
guys, can I create an array of functions in php?
myc
array(&function);
jaredx
Anyone know how to pull the value or work with message attachments using the imap functions?
Like attachment size etc?
xpowerstudios
itrebal, want to experiment?
__a
myc: it gives an error
itrebal
xpowerstudios: with what?
xpowerstudios
itrebal, setting up a double route
__a
funcs['hi'] = &hi;
funcs['hello'] = &hello;
itrebal
xpowerstudios: join #pr0n
ebow
i'm getting "Fatal error: Call to undefined function: easter_date()..." - any ideas on that please? i don't see why that function would be undefined in php...
jsoft
http://blog.codefront.net/archives/2004/02/09/microsoft-frontpage-ad-dripping-with-irony/
myc
BLOGWHORE
zircu
ebow: accoring to php.net/calender you need to compile with --enable-calendar
ebow
i need to compile that function from scratch? would've thought it would be included in the distribution (?)
wundaboy
is there an easy way to tell how many days until a certain date?
like a function that already does it?
ebow
wundaboy: funny; i'm right now trying to implement a wordpress plugin that does just that
don't know about a standalone function
i'm getting problems with easter_date()
Julian|Work
ebow, why would it be defined is a better question :P
ebow
i'm not quite sure why this date countdown plugin wants to use it...
zircu
ebow: the distribution of the packaging system of you os?
ebow
else if(preg_match('/easter[\\s]+(.*)/i', $entry, $matches)) { $eventtime = easter_date(intval(date('Y'))); if($eventtime < time()) $eventtime = easter_date(intval(date('Y')) + 1); $eventname = $matches[1];
zircu: no, of php
tekHneEk
http://pastebin.com/587837
I want to take the $_POST['key'] values and make them $key variables
wundaboy
will $var -= $minus do the same thing as $var = $var -$minus
vhuren
if I dont want a class to be instantiated because its filled with a lot of static functions should I make it so that the __construct is defined as static? like public static function __construct
?
Anomaly0
wundaboy, yes
zircu
ebow: well php doesn't include every thing, you sometimes need to include what you want
ironpig
hey, is there something similar to fprintf on php5 but for php4?
freeone3000
...Why not upgrade?
ironpig
its not my computer...
tekHneEk
I want to take every $_POST['key'] and make it a normal variable that corresponds to the key if it's set
how can I Do this?
wabi
hello
ironpig
the (#$*%# who runs it, I think it a little stuck in his ways.
wabi
I have a problem with a php module I compile
I compile it on a machine with php 4.4.1 but it gets compiled for 4.3.10
probably something wrong with phpize
any tips on where to look?
^Migs^
I just purchased my first web site!!!!!!!!!
(Action) is PUMPED
ee99ee
what shopping cart system do you guys use? I have discovered what a big pile of sh*t osCommerce is.... although it is feature packed
lig
(Action) yawns and tried to catch up at work
jaredx
exit
Jymmm
(Action) pets lig
ee99ee
(Action) thinks Jymmm and lig should get a room
lig
(Action) stretches
Jymmm
!+##php
php-bot
##php is really 'Pretty Horny People'. The computer language is just a cover.
ee99ee
LOL
Jymmm
ee99ee got one right here.
lig
ee99ee: he's been trying for a while now... maybe I'll let him one day
ee99ee
haha
by the way, what's with the ##php these days? was #php just not good enough?
Jymmm
ee99ee she pinches my butt all the time, damn tease
ee99ee
lol
enfield
any advice for someone with some basic php/mysql knowledge, regarding writing a cms or database driven site?
ee99ee
enfield: learn about PHP OOP :-)
lig
enfield: for a personal site - procedural will woirk just fine
wikked
for a function that returns an array, is there a way to dereference [0] without a temp var?
ee99ee
wikked: $foo = $foo[0];
lig
enfield: there is a tutorial for it on the web... I have some disagreements with it on some stuff... but *shrug*
enfield
debating which one to look at
wikked
ee99ee: explode(' ', $x)[0] does not work
(obviously)
tekHneEk
if I want to ALLOW only letters and whitespace in a regex I would do preg_match('^/[(\w|\s)]$', $string); ?
wikked
i guess i'd want array_shift(explode()), huh
amazing how asking a dumb question on IRC reminds one of the answer
ee99ee
widdked: well, in that case, try: list($foo) = explode('',$x);
you also could $foo = explode('',$x); $foo = $foo[0];
enfield
lig: you have a link?
wikked
right, ee. the original question was without the tmpvar.
thanks for the time
lig
http://www.intranetjournal.com/php-cms/ <-- not the greatest thing but gives ideas
tekHneEk
^[\w\s]$^
is this a valid regex?
zircu
tekHneEk: depends
tekHneEk
just want a-zA-Z and whitespace (sppaces)
a valid entry would be, "My car"
or "Fat kid"
« prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 next »