1,730 Posted Topics

Member Avatar for xofth

when messing up with mime it is better to use third party packages that will save you pain like PHPMailer or swiftmailer

Member Avatar for Stefano Mtangoo
0
147
Member Avatar for apanimesh061
Member Avatar for Stefano Mtangoo
0
708
Member Avatar for srinidelite
Member Avatar for tgr0ss83

[url]http://christopherickes.com/web-app-development/pdo-execute-with-unnamed-parameters-associative-arrays/[/url] [url]http://daveyshafik.com/archives/605-debugging-pdo-prepared-statements.html[/url]

Member Avatar for Stefano Mtangoo
0
300
Member Avatar for scamquist
Member Avatar for scamquist
0
215
Member Avatar for Brachamul

Newbees should learn to use google :) If you did here is one of results [url]http://stackoverflow.com/questions/5164930/fatal-error-maximum-execution-time-of-30-seconds-exceeded[/url]

Member Avatar for Brachamul
0
704
Member Avatar for godfather21

[QUOTE=ardav;1680912]I'd have these levels built on bits: master = 16 admin = 8 sup'vr = 4 gp = 2 pat. = 1 SO if storing levels for an user: if a gp and a master - value = 2 + 16 = 18 store this in your users table then …

Member Avatar for godfather21
0
162
Member Avatar for xofth

[url]http://stackoverflow.com/questions/1318861/how-do-i-use-phpmailer-cant-find-a-simple-decent-tutorial-online[/url] [url]http://www.web-development-blog.com/archives/send-e-mail-messages-via-smtp-with-phpmailer-and-gmail/[/url]

Member Avatar for cwarn23
0
336
Member Avatar for 18engineer
Member Avatar for Sorcher
0
118
Member Avatar for aonent

It is called pagination! [url]http://net.tutsplus.com/tutorials/php/how-to-paginate-data-with-php/[/url]

Member Avatar for Stefano Mtangoo
0
244
Member Avatar for musbah

That is [URL="http://www.w3schools.com/PHP/php_ajax_intro.asp"]AJAX[/URL]!

Member Avatar for Stefano Mtangoo
0
158
Member Avatar for trevor_shiggs
Member Avatar for mehdi.yazdani

make hidden form element capt_id and make a copy of it in session. When form submitted compare the two. IF they don't match reject form, someone have just tempered to with your form. else process it with variable in session or form (since they are equal)

Member Avatar for mehdi.yazdani
0
120
Member Avatar for nikki05

[QUOTE=nikki05;1670262]Hi, I am using PHPBB for my forum. My intention is if someone registers to my website, he/she will be login to forum as well, automatically. That means no need to register twice to use the forum. Is there a way forward to achieve this? Will greatly appreciate your suggestions. …

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for Awah Mohamed

Mail Server? I'm sure you don't want to code one. Unless you mean installing mail server or you want to create mailing script!

Member Avatar for Stefano Mtangoo
0
118
Member Avatar for freebanana

[QUOTE=freebanana;1679755]But I don't know programming so it would take you a lot less time and it is good for everyone because this way you can have free storage of all your videos of your family without storing them on your personal hard drives which can fail and lead to irreparable …

Member Avatar for Stefano Mtangoo
0
279
Member Avatar for KLMKLMKLM

I remember using # comment for Python have never tried that for PHP. BTTT, You have mixed HTML and PHP to a point f confusing me, cant help with that. If you need to print something like for use HEREDOC syntax. And goto? Can't beilieve it! here is clean way …

Member Avatar for Stefano Mtangoo
0
269
Member Avatar for jacob21
Member Avatar for cskinittest
Member Avatar for davy_yg

does the form with element id exists? Mixing html and php makes it messy check if form have element with name [B]id[/B]

Member Avatar for Stefano Mtangoo
0
284
Member Avatar for extjac

using prepared statements will easy your code as well as give extra protection against SQL injection [url]http://devzone.zend.com/article/686[/url]

Member Avatar for extjac
0
377
Member Avatar for davy_yg

[QUOTE=davy_yg;1676423] -------------------------------------------------------------------------------- Kepada : Kamu Subject : AdditivePesan : PesanDari : David Error sending:[COLOR="Red"] Message body empty[/COLOR] Telah dilakukan! Why is it ?[/QUOTE] Mh! You have to learn reading error messages!

Member Avatar for davy_yg
0
357
Member Avatar for mjohnson
Member Avatar for mjohnson
0
496
Member Avatar for rrr12345

As Usual I suggest [URL="http://wxwidgets.org"]wxWidgets[/URL] and the [URL="http://www.informit.com/title/0131473816"]wxBook[/URL] is a good place to start

Member Avatar for rrr12345
0
227
Member Avatar for lima01

[QUOTE=lima01;1674523]Hi. I am making a membership application in which users will need to login and then can make a reservation, edit their previous reservation, cancel etc, and in which admin will be able to add new users, edit all reservation etc. So I would like to ask you is php …

Member Avatar for Stefano Mtangoo
0
215
Member Avatar for jetlife76

[QUOTE=jetlife76;1675343]Ok i am trying to create a simple program that will allow me to use an array with 8 numbers, the output form should show the numbers in their original order that the user inputs them, in numerical order, Highest number, lowest number and then the average number. If anyone …

Member Avatar for Stefano Mtangoo
0
143
Member Avatar for virtuali
Member Avatar for Stefano Mtangoo
0
302
Member Avatar for erik216

why not use for loop since they have same elements [CODE=PHP]$Array_c = array(); for($=0; count($Array_a); $i++){ if(Array_a[$i]!=Array_b[$i]){ //correct in array C } }[/CODE]

Member Avatar for Biiim
0
176
Member Avatar for neuro

I started with [url]www.cprogramming.com[/url] and [url]www.cplusplus.com[/url] and then I grabbed C++ How to program by Deitel. Especially [URL="http://www.cplusplus.com/doc/tutorial/"]tutorial by Julian Soulie[/URL] is a must read

Member Avatar for verona.jenn
0
238
Member Avatar for mjdodd

Ubuntu is debian family of Linux Distros. So you can install using dpkg with command sudo dpkg -i my_package_name.deb or just windowish, right click the file and open with either GDebi or software center (if you didnt disturb things just double click it!)

Member Avatar for mjdodd
0
723
Member Avatar for Stefano Mtangoo

Hi, Is there tutorial somewhereto use Python with EWS? I'm trying to develop a program that will interact with Microsoft Exchange Server without using managed services Thanks

0
101
Member Avatar for Buppy

[QUOTE=Buppy;1677284]Hi, A little stuck here - i have a file containing info like this: Name: Some Name Email: [email]some@email.com[/email] I'm using file_get_contents to read the file and then i want to get the name. I have it like [CODE]preg_match('/Name:(.*?) Email:/',$filecont,$name);[/CODE] however it returns nothing. Maybe anyone has an idea how …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for TheChosen0ne

System32 is one of those folders. Why not just put exe and dll in same folder? I always hate to put non system DLLs into my system folder. Alternatively just create libraries folder somewhere and add it to system PATH!

Member Avatar for Stefano Mtangoo
0
152
Member Avatar for ohlermsu

Start with [URL="http://docs.python.org/tutorial/"]Python official tutorial[/URL]

Member Avatar for Stefano Mtangoo
0
219
Member Avatar for Joshua Kidd

[QUOTE=Joshua Kidd;1677057]Would you happen to know where I can signup or anything? The site is a bit confusing. I did however find a page about the API.[/QUOTE] [url]http://www.worldpay.com/support/bg/index.php?page=development&sub=integration&subsub=examples[/url]

Member Avatar for Stefano Mtangoo
0
151
Member Avatar for yaseenmohd

You have to put a token in your security checks that is renewable for each page click. That is a session variable storing last time user accessed a page and when user sends new request find difference btwn current time and session variable. If it is greater than permissible time …

Member Avatar for Stefano Mtangoo
0
557
Member Avatar for morrisproject

[QUOTE=morrisproject;1676407]i have posted my code.[/QUOTE] Use Code tags. I have reported your post so that Moderators will fix it!

Member Avatar for Nick Evan
0
180
Member Avatar for IanArcher

Check [URL="http://php.net/manual/en/book.simplexml.php"]SimpleXML[/URL]. It helps to work with XML files. There is a good tutorial [URL="http://devzone.zend.com/article/651"]somewhere[/URL]

Member Avatar for Stefano Mtangoo
0
308
Member Avatar for Buppy

You have power over edit code right? Do just the opposite, before populating the Textarea, just replace breaks with line breaks

Member Avatar for diafol
0
83
Member Avatar for RMelnikas

PDO or MySQLi is replacement for mysl_** I propose using PDO if database portability is an issue otherwise use mysqli_** as it is good replacement (for legacy code) than PDO

Member Avatar for Smeagel13
0
237
Member Avatar for Stefano Mtangoo

Hi, I have DAL class and I have done Query Parametrization to avoid SQL injection. As you can see the weakpoing for Dynamic Query is table_name and column name. I have made small function to (hopefully) validate table variable before I can add to SQL command string. Now I was …

Member Avatar for Stefano Mtangoo
0
198
Member Avatar for cwarn23

It is back. I use PHP Manual I downloaded from Net. So even if it goes off for weeks, I have no problem! Only it should not go forever!

Member Avatar for Stefano Mtangoo
0
89
Member Avatar for utroda

the best syntax will be {%filename%} then where simple str_replace will do a job [CODE=PHP] $temp_file = "{%news%}"; //here you have it $file_name = str_replace(array("{%", "%}"),array("", ""), $temp_file); include $file_name.".php";[/CODE]

Member Avatar for utroda
0
358
Member Avatar for OmniX

Keith once wrote a login System. I'm basing my code on that (even borrowed some stuffs as they are). So guys, can you rate the security of it? Also what About IP attacks. I heard the term but don't know how it applies to security/password. Not to hijack the thread …

Member Avatar for Stefano Mtangoo
2
2K
Member Avatar for Stefano Mtangoo

Hi, I want to write ACL. The access groups and access tasks are arbitrary. That means that any group can be given any access and initially accesses and groups are unknown. Creating groups is easy but I have hit a wall on how do I create/Implement limiting the tasks. Example: …

Member Avatar for Stefano Mtangoo
0
228
Member Avatar for jacob21

I think it is JS question than PHP. BTW, why don't you organize your JS code into finctions in single file and just call those functions? Your code is a mess and hard to read. May be post the relevant lines only!

Member Avatar for Stefano Mtangoo
0
278
Member Avatar for kgizo

[QUOTE=kgizo;1673452] Now all I need is to send the records to MySQL. Thanks in advance!!![/QUOTE] [url]http://www.phpro.org/tutorials/Introduction-to-PHP-PDO.html[/url] [url]http://wiki.hashphp.org/PDO_Tutorial_for_MySQL_Developers[/url] [url]http://aaronamberman.com/tutorials/phppdomysql.php[/url]

Member Avatar for Stefano Mtangoo
0
219
Member Avatar for Joe_hoskins

Hi, Have you heard of Simple XML? It is nice way to deal with XML Using[URL="http://devzone.zend.com/article/651"] SimpleXML[/URL], [URL="http://www.w3schools.com/php/php_file_upload.asp"]File Upload[/URL] and [URL="http://www.w3schools.com/html/html_tables.asp"]Little HTML[/URL] is enough to make simple GUI for task like the attached image. You can add DB support but it can be done without any database interaction.

Member Avatar for Joe_hoskins
0
2K
Member Avatar for Squit

[QUOTE=Squit;1672739]thanks pritaeas, but i don't like urlencode :D maybe is some other option to escape % like an escape char \% ?[/QUOTE] What about encoding whole url part after 1411 with [URL="http://php.net/manual/en/function.base64-encode.php"]base64encode[/URL]

Member Avatar for Squit
0
1K
Member Avatar for vlowe

Writing MVC? I always redirect whole url into index.php and slice and rewrite it using PHP. I will be also watching for a solution but few days ago there was a discussion on like subject, .htaccesss

Member Avatar for Stefano Mtangoo
0
75

The End.