Forum: *nix Software Jun 8th, 2008 |
| Replies: 1 Views: 815 Hi there.
All mail sent through the SMTP server, i need to modify the message being sent through.
I already have a PHP script to send MIME emails with embedded images for HTML meails. However this... |
Forum: PHP Jun 8th, 2008 |
| Replies: 0 Views: 471 Hi there.
All mail sent through the SMTP server, i need to modify the message being sent through.
I already have a PHP script to send MIME emails with embedded images for HTML meails. What i need... |
Forum: C Jun 8th, 2008 |
| Replies: 1 Views: 444 Hi there.
All mail sent through the SMTP server, i need to modify the message being sent through.
I thought of making either a C,bash,perl script to take in the message, modify it and return it to... |
Forum: PHP Jul 25th, 2007 |
| Replies: 4 Views: 2,908 Your Database information is incorrect
In order to connect you will need to have the valid information for;
DB Name
DB Username
DB Userpass
DB Host
One of these is incorrect. |
Forum: PHP Jul 25th, 2007 |
| Replies: 11 Views: 2,688 What you want to do, is create a global space for your site,
and depending on which action your performing, include the appropriate class and content pages.
What i do is make a module (eg: for... |
Forum: PHP Jul 25th, 2007 |
| Replies: 6 Views: 1,186 You are running PHP on an operating system, which one is it ? |
Forum: PHP Jul 25th, 2007 |
| Replies: 11 Views: 2,688 Do you want to create the class using DB information?
Or get DB information when creating the class ?
Just clarifying before i answer your question |
Forum: PHP Jul 25th, 2007 |
| Replies: 6 Views: 1,186 Are you running PHP on windows or linux? |
Forum: PHP Jul 25th, 2007 |
| Replies: 11 Views: 2,688 You wouldnt really create the object of Animal in its own class unless you really need to.
After creating the class and all its methods.
You just need to do.
... |
Forum: PHP Jul 25th, 2007 |
| Replies: 14 Views: 1,515 Again, you need to validate your mail() command. By using @ or IF. |
Forum: PHP Jul 24th, 2007 |
| Replies: 5 Views: 2,118 Golffor1, without going into your code too much, ihave noticed your using row[0] and row[1].
However in your SQL query you're only selecting 1 field, therefore you will only have row[0]
Cheers |
Forum: PHP Jul 24th, 2007 |
| Replies: 5 Views: 2,118 Iamthwee, what are you talking about ? the back ticks `` denote a field name or table name within mySQL proper syntax.
PHP fills these in for you if you don't use them. |
Forum: PHP Jul 24th, 2007 |
| Replies: 2 Views: 1,849 aasgar. Your problem is when you do an explode() on the $even_time your seperator is "." but there are no dots in 13:00 it should be
exlode(":", $event_time);
Fix that, and it should work for... |
Forum: PHP Jul 24th, 2007 |
| Replies: 3 Views: 1,154 I'm not aware of any scripts to do this.
You're looking to create your text file.
Create a socket to your FTP server.
Send the appropriate FTP commands to Login + change DIR + upload file.
... |
Forum: PHP Jul 24th, 2007 |
| Replies: 2 Views: 4,245 A better solution for yourself would be just to mask the bad words (unless you really don't want to send the email).
Just do a preg_replace of *@!>&^ (or however many characters are in the... |
Forum: PHP Jul 24th, 2007 |
| Replies: 14 Views: 1,515 The mail() function returns TRUE or FALSE upon sendin the email.
In order for you to write a decent script, you will have to verify that this mail was sent corrently.
Therefore you will need to... |
Forum: PHP Jul 17th, 2007 |
| Replies: 5 Views: 3,473 Every page in the system is grabbed into index.php.
For each page i'd like the title to change according to the page it's on, this can be set manually within each page we want to send.
My... |
Forum: PHP Jul 17th, 2007 |
| Replies: 14 Views: 1,515 The following is the necessary code to store, check that no info was empty and email the user.
You will need to change the $to variable to suit your needs.
You will also need to make <input... |
Forum: PHP Jul 17th, 2007 |
| Replies: 5 Views: 3,080 You can execute PHP in any part of your HTML page, for example witin the <head> |
Forum: PHP Jul 17th, 2007 |
| Replies: 16 Views: 4,322 You could use JavaScript Encode, to encode the HTML/page source, so that it isn't readable at all. |
Forum: Geeks' Lounge Jul 17th, 2007 |
| Replies: 125 Views: 17,932 I suggested something like that, somewhere where we could all game ,chat, code or whatever we want.
Could you talk more about G3 ??
Thanks. |
Forum: C Jul 16th, 2007 |
| Replies: 17 Views: 1,897 I repeat.. " It's not good resourcefully if you use this method".. |
Forum: Geeks' Lounge Jul 16th, 2007 |
| Replies: 125 Views: 17,932 I think he was suggesting if it mattered, he's wanting someone's opinion on it, therefore its a question..
That's my theory anyway
Back to the topic.
Can someone do some research for IT meetings... |
Forum: C Jul 16th, 2007 |
| Replies: 13 Views: 4,775 Haha, i thought he ment passing variable arguments.. as you can pass an array as a parameter (using pointers of course), so i thought he ment how do you pass a variable to a function.
Oh well :) |
Forum: C Jul 16th, 2007 |
| Replies: 13 Views: 4,775 1) What's the OP?
2) didn't want to over complicate things for the guy, as he seems to be just starting out in C, giving him a basic understanding of parameter passing would be more beneficial... |
Forum: C Jul 16th, 2007 |
| Replies: 3 Views: 6,962 The above links will help you learn about sockets.
What you're looking to do is..
Create a socket (using socket() ).
Setup destination for this socket, and the port you want to make this... |
Forum: C Jul 16th, 2007 |
| Replies: 13 Views: 4,775 Simply to answer your question.
#include <stdio.h>
int sum;
int main() { |
Forum: C Jul 16th, 2007 |
| Replies: 17 Views: 1,897 You can also use system("PAUSE"), DevC++ puts this in for you automatically, i'm not sure about linux at all since i don't need to use it on Linux :)
It just outputs "Press Any Key To Continue..."... |
Forum: PHP Jul 16th, 2007 |
| Replies: 18 Views: 3,926 Well done Johny, i never tought of that :D |
Forum: PHP Jul 15th, 2007 |
| Replies: 43 Views: 171,185 Try echoing your query, and see if it makes sense.
Try pasting it directly into mySQL (not via PHP) and see what happens also. |
Forum: Geeks' Lounge Jul 13th, 2007 |
| Replies: 125 Views: 17,932 Some valid points we defo need a tech event.
I don't know of many, i'm not from england.
I guess there should be a vote or happygeek should just suggest somewhere; but yes we defo need a technical... |
Forum: Geeks' Lounge Jul 13th, 2007 |
| Replies: 125 Views: 17,932 Anywhere is reachable by train these days.
Middle england sounds fair i think.
I'm not getting on london tubes anyway. :p
Damn iraqis.! |
Forum: PHP Jul 13th, 2007 |
| Replies: 3 Views: 1,975 What is the money for?
Are you paying that? or paying someone else that? Let me know, and i'll help you further.
Or is that what you want your paypal integration to do. |
Forum: PHP Jul 12th, 2007 |
| Replies: 17 Views: 2,637 As i mentioned before. You can run Apache. mySQL, PHP servers all configured to work with each other.
Using WAMP (www.wampserver.com (http://www.wampserver.com))
Google it.
Enjoy. |
Forum: Pascal and Delphi Jul 10th, 2007 |
| Replies: 3 Views: 3,074 fixed your problem at IRC, but just for the people who are sitting are the code thinking about it, when it's already been fixed :)
Your doing
a[j + 1] := tmp;
on th third last line.
Meaning... |
Forum: PHP Jul 10th, 2007 |
| Replies: 16 Views: 3,359 Thanks for your input digital-ether (http://www.daniweb.com/forums/member50324.html).
CAPTCHA is already going to be implemented to minimalise the risk of automated attacks.
The database idea,... |
Forum: C Jul 8th, 2007 |
| Replies: 17 Views: 3,303 I understand the code, it was for the C beginners trying to understand the code (as there were 0 comments in his code) |
Forum: PHP Jul 8th, 2007 |
| Replies: 16 Views: 3,359 I like the way your thinking Invisal.
I will wait for more replies from other coders, before i decide which is the more suitable method to use.
Thanks for your input ;) |
Forum: PHP Jul 8th, 2007 |
| Replies: 10 Views: 1,322 Not a problem dude, i have nothing else to do :)
Ask away. |
Forum: PHP Jul 8th, 2007 |
| Replies: 10 Views: 1,322 Yes, that's correct.
You've declared $msg as an instance variable of the class, so to refer to it you would do $this->variable.
Same if u have another function in the same class, you could call... |