PC Nerd
Members-
Posts
1,122 -
Joined
-
Last visited
Never
Everything posted by PC Nerd
-
i dont want a script, i want to know if its possible to do in php only, is it really that hard.... btw, i asked something there, and didnt get answered, so instead of bumping 50 times, i just posted new......
-
hi guys, im setting up a third party email for my domain...... so that i can create xyz@domain.com, and keep emails etc even while i change hosts etc. however, what i want to do is setup an account, for contact, and have filters, that keeps track of 5 other email boxes...... and forward each incoming email into the first email, to the email with the lowest emails.... ill explain further: email2me.com: main email box 1@... = 27 emails sent to. 2@... = 27 emails sent to 3@... = 25 emails sent to 4@... = 30 emails sent to what i want to happen, is when an email comes into email@me.com, i want it to automatically forward that email to the other email ( 1@ 2@ etc) address, who has the lowest amount of emails been sent to them. i can store the number in a database, or even a text file if i needed, however, i need like a) a cron setup or something, that logs into othe emal service, then forwards that email. is this possible with php, or how would i go about it. what it really is, is to spead like support emails and requests, amongst support technitions etc, so that they can have their own personal emails, and the global one ( email@me.com) doesnt have to have multiple logged into it etc. i dont even know if this is possible within php, but is it possible to automatically do it through my DNS management, where its edited MX records etc? thanks for your help in advance, yours, PC Nerd
-
please, i really need to know if this is possible
-
i need to know ( as i thought i specified very clearly above), if its possible to make a php script, that acts as part of an adon to an email account, that monitors its incoming emails, and forwards them to other emails, acording to details specified from a database.
-
does anyone know if this is possible, or how to do it?
-
hi guys, im setting up a third party email for my domain...... so that i can create xyz@domain.com, and keep emails etc even while i change hosts etc. however, what i want to do is setup an account, for contact, and have filters, that keeps track of 5 other email boxes...... and forward each incoming email into the first email, to the email with the lowest emails.... ill explain further: email2me.com: main email box 1@... = 27 emails sent to. 2@... = 27 emails sent to 3@... = 25 emails sent to 4@... = 30 emails sent to what i want to happen, is when an email comes into email@me.com, i want it to automatically forward that email to the other email ( 1@ 2@ etc) address, who has the lowest amount of emails been sent to them. i can store the number in a database, or even a text file if i needed, however, i need like a) a cron setup or something, that logs into othe emal service, then forwards that email. is this possible with php, or how would i go about it. what it really is, is to spead like support emails and requests, amongst support technitions etc, so that they can have their own personal emails, and the global one ( email@me.com) doesnt have to have multiple logged into it etc. i dont even know if this is possible within php, but is it possible to automatically do it through my DNS management, where its edited MX records etc? thanks for your help in advance, yours, PC Nerd
-
ok, thanks, ill have a look and try differente exampels thanks for your time... ill leave this open incase anyone has any other ideas
-
well its mainly a new user form, and a login form. its ony really using Int and Strings as data, the rest of the information is generated by the php script like time etc. i could block " <>=!" etc. but how do i detect specifically SQL statements? thanks
-
can anyone help me create that "algorithm" to detect the SQL injection attacks? I really want to be able to dlock SQL injection attacks from my site...... eg their IP...... so it wouldnt matter if someone if part of a proxy, because it would simply block everyone in that proxy......... is there a way to detect proxy? if there is, then what would be good is if i can create a script that detects proxy, and block it perminently, or if its not proxy, then block for a week ( dynamic IP assingments) and if its a repeat offender, then perminently block that user. id be willing to pay a small amount if its possible, so if it is, ill post it in the freelancing section, if i cant do it. thanks for your replies,
-
hi guys. im wondering if theres a way to actually detect SQL attacks, instead of just blocking them by filtering the input etc. What i want to do is have a table in the database, that logs the IP address etc of all SQL injection attacks.............. and display a message "Your IP address has been logged due to an attempted SQL injection Atack" or someething thanks for your help
-
ok... theres a php extension........ i think its called ming..... and its a php / flash based extension. if enyone has xampp, or wamp, or something like that, then its one of the examples...... i dont know how to use it, but it might be of some help............ you can google "xampp" download it a=for about 24 mb i think, its apache php, pearl mysql and firezilla etc, but its there, even if you only install temporarily, it might give you an idea on how its done........ the only thing is i dont think its php certified or whatever yet, which mens you might find getting a tutorial a little dificult good luck
-
[SOLVED] Finding out location from a post code
PC Nerd replied to textbox's topic in PHP Coding Help
select city from postcodes where postcode = $postcode -
try : if(empty($photo)) {......} might work instead.........
-
um, its either explode or implode, i forget: $string = implode($Arrayname, "concatination string"); eg $array is: "things", "are", "ugly"; then implode($array, " ") would return $string = "things are ugly"; gdlk
-
using strpos to ban unwanted words in cookbook script
PC Nerd replied to chefkevin's topic in PHP Coding Help
um..... id use an array for the words you want to filter....... and have it like: $words[0] = "word" then id loop through this array: foreach $word As $words { } than use str_replace(); to to the words: i think its like: str_replace("word_to_filet", "****", $string_name); so str_replace($word, "****", $_POST['Receipe']) you could even loop through everything in POST ( assuming your usign post to send the receipe to the script toi eneter into a database etc.....) like: for section in post, { for word in filter { filterword } } gdlk -
Code Help, Limiting Number of Pages Listed on Pagation
PC Nerd replied to socalnate's topic in PHP Coding Help
um, i havent read the code.... but if your code lists eg pgs like: < 1 2 3 4 5 6 7 > then all you have to go is limit the range of your numbers.... eg: just go and list current page + 4 pages, current page num( not link), currentpage - 4 pages.... then add the next previous, adn more or less links should be fairly easy if thats what your trying to do gdlk -
hmmm, um try and echo out your actual query variables..... see if its working or actually adding the brackets to the string..... i think its better practice to use string concatination eg "string"."string" etc, so id recommend you try that. gdlk
-
[SOLVED] passing POST data on link click, and not form button
PC Nerd replied to PC Nerd's topic in PHP Coding Help
ok, thanks for the code, ill try and go learn about sockets, however im short on time, so i may just rely on javascript etc....... or simply use a button... appreciate the fast replies, -
[SOLVED] passing POST data on link click, and not form button
PC Nerd replied to PC Nerd's topic in PHP Coding Help
thanks..... so i would have to use javascript to actually add the data into post....... btw, if anyone knows how to directly write to POST, or a tutorial / example. would you be able to leet me know ( i know its the wrong section, but while this posts here, its better than making a new on elsewhere) ( GET is easy as you simply append to the url) thanks for your help -
thanks...... ive got the connection working.... nbow to work out how to reteeiv data lol thanks again
-
[SOLVED] passing POST data on link click, and not form button
PC Nerd replied to PC Nerd's topic in PHP Coding Help
well can it be defined in php or something when it displays the form...... or do i have to rely entirely on the client? -
bump