• Articles, tutorials
  • Book reviews
  • General forum
  • Database related
  • Php compilers
  • Scripts / software
  • Coding practices
  • Javascript and flash
  • Design
  • Off - php
  • Hosting general
  • Hosting offers
  • Job offers
  • Job requests
  • Bulgarian
  • German
  • Portuguese
  • Turkish



PhpTalk Forum

Go through PhpTalk forum

Total Members: 2667
Total Posts: 13049
Total Topics: 3861
Total Categories: 6
Total Boards: 22



Previous challenge winner

patter
274
iceboxman269
quagmire262
MMTechniques212
Olate173
trompeti168
MonaLisa157
xmitchx148
mjac126
Jen111
niko88
Laurent82
qazwsx81
encse80
saleh66
ock199160
Aphpoc58
peshoki52
gamenati36
justin30
ManoLisa21
mogwai20
Grimmeh14
Secure Php Programming, start a PHP project w/o security holes

Hi all,

everybody using PHP programs has heard about security holes in PHP.
This thread should describe how to start a PHP project as safely as possible and how to design a PHP project to exclude as many security holes as possible from the beginning.

Each post will describe one security issue. Please feel free to add.

GeG

...

Continue by Gustavo el Geranie


Coding style

Hello all!
I strongly support the idea that 'good' code is 'well-formated' code as well.
What I want to stress here is that general appereance of the code is not less
important then it's content. So I decided that my first post in this section would
be about code conventions and standards I use during my sleepless nights of fighting
with PHP.
Few potints I want to make before going deep inside the code:
1. I always separate OO and Procedural c...

Continue by Kuulest


Error Messages Explained

Hi board,

I want to start a new topic about error messages. There are sometimes error messages in PHP, where the text is misleading or not easily understandable.
So this post should help everyone who finds an error he/she cannot explain to check if there is already an easy solution present.
Please feel free to add to the list.
If there are a lot of replies, just use the search.

First error:
the infamous "MySQL mysql_fetch_row(): supplied argument is not a vali...

Continue by Gustavo el Geranie


Image handling with php in contact with mysql


It was about 1 month ago, one of my friends asked me for image handling issue using mysql database. It was funny that although he was not a professional programmer, he was experienced enough to fix his problem. After small phone talk i understood that there were many sources about it he had but all are a bit complicated beyond his needs.

After a couple of days i sent him two files including image insert and image get functions. You guess the next part: "Thank you"...

...

Continue by CK


Cron Jobs - Repeated Execution Of A Script

cron, the linux way to execute your script in regular intervals

it's fairly easy, but you have to have root rights on the server (if you don't have root rights, check the notes below)
This is not the linux guru way (they'd use crontab).

Just follow these steps:
  • check your /etc for directories like cron.*
    (type find /etc -name 'cron.*' ).
    On my systems I have
    [LIST]
  • /etc/cron.daily
  • /etc/cron.hourly
  • /etc/cron.m...

    Continue by Gustavo el Geranie


Access your Outlook application using PHP

Access your Outlook application using PHP

I have always been surprised from what PHP can do.Using COM objects shows new and best ways for PHP development. The folowing code, which is designed like Step by Step wizard, shows the access to Inbox and Outbox folders in your MS Outlook application.

You should do the folowing:

Step1: check the system configuration and registry entires.

System:
OS: Windows 98/NT/2000/XP
MS Outlook

Registry:<...

Continue by contact_bogomil


PHP Interview Questions For Php Programmers

Interview Questions For Php Programmers


1. What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?

2. Who is the father of php and explain the changes in php versions?

3. How can we submit from without a submit button?

4. How many ways we can retrieve the date in result set of mysql using php?

5. What is the difference between mysql_f...

Continue by phpprogrammer


How to use sessions in PHP

As there seem to be many, or at least enough people
which got problems with session, I wrote a very short
script/tutorial, how to use sessions in the modern way.

In past PHP versions $HTTP_SESSION_VARS,
and functions like session_register(), session_unregister()
and session_is_registered() were used!

That's past!

Now we just use the superglobal (which means 'always global')
$_SESSION array to deal with sessions variables.

...

Continue by PHPlugin


How to Send email using PHP Com functions

What is COM


COM is a technology which allows the reuse of code written in any language (by any language) using a standard calling convention and hiding behind APIs the implementation details such as what machine the Component is stored on and the executable which houses it. It can be thought of as a super Remote Procedure Call (RPC) mechanism with some basic object roots. It separates implementation from interface (PHP Manual)



The Script
Open yo...

Continue by contact_bogomil


Building dynamic web pages with PHP - First steps



Building dynamic web pages with PHP
This article will explain how to build dynamic web pages with PHP. PHP is a very popular and easy to learn script language . Regardless if you are starting to build your website, or if you are already a pro, just read on to learn more about dynamic web pages and PHP.

Why dynamic web pages?
If you have ever created a web site, you already know that maintaining very many pages is really a lot of work. Even if you never need to...

Continue by heddesheimer