Search found 1240 matches

by WiZARD
Fri Sep 30, 2005 7:23 am
Forum: PHP coding => General
Topic: Concurent access
Replies: 9
Views: 2670

Re: Concurent access

Hi, I am implementing a multi-user Content Management System in PHP MySQL. After logging in, users will be presented with the structure of a site and they will be able to edit the content using a rich text editor. The problem is that more than one user can request a page to edit in the same time so...
by WiZARD
Fri Sep 30, 2005 7:19 am
Forum: PHP coding => General
Topic: No Database Selected
Replies: 9
Views: 3429

hello... i did try it out... and yes the prob is on config.php.... it returns error saying: "Access denied for user: '@%' to database 'jd'".. why is dat so? any idea?.. You not have a permission for this table. if you are use it locale set permission for it if not ask about it at the administrator
by WiZARD
Mon Sep 26, 2005 10:45 am
Forum: PHP coding => Mail
Topic: automatic email to respond users
Replies: 5
Views: 3049

Alexei Kubarev wrote:same thing :)
almost
by WiZARD
Mon Sep 26, 2005 5:56 am
Forum: PHP coding => General
Topic: post variables
Replies: 2
Views: 1377

gesf wrote:BTW, if we're talking about getting something from the URL, we should use $_GET[].
yes, sure.
by WiZARD
Mon Sep 26, 2005 5:52 am
Forum: PHP coding => General
Topic: ftp_connect to localhost
Replies: 3
Views: 2263

Re: Problem solved!!!

t0m@s wrote:Hi!

I've solved the problem. I use 127.0.0.1 instead of localhost and it works. I don't know why, but it works!!!
see the ftp server config.
by WiZARD
Sun Sep 25, 2005 3:22 pm
Forum: PHP coding => Mail
Topic: FormMail
Replies: 0
Views: 1772

Re: FormMail

1. create form in macromedia Dreamweaver or in somthing else.
2. Copy HTML code.
3. paste to the some variable.
4. put into mail function pf php.

but I'm not sure what understand you.
by WiZARD
Sun Sep 25, 2005 3:00 pm
Forum: PHP coding => Mail
Topic: automatic email to respond users
Replies: 5
Views: 3049

Alexei Kubarev wrote:if you mean sending HTML emails with php: this is possible, all you need to do is define a content type and mime.. check out http://www.php.net/manual/en and navigate to mail()

you should be able to see some examples of this :)
But also you may use this: http://www.php.net/mail
by WiZARD
Sun Sep 25, 2005 2:54 pm
Forum: PHP coding => Mail
Topic: How can I know if an email has been delivered?
Replies: 6
Views: 3395

Re: How can I know if an email has been delivered?

I think what you have a 2 variant: 1 put the form in mail whare you just make a request about readed mail. 2 do you know how people generate a images via php? same you a create a counter for images any and when mail opened in mail have a vimk on the image http://www.mysite.com/images/counterimage.ph...
by WiZARD
Sun Sep 25, 2005 2:44 pm
Forum: PHP coding => General
Topic: more than one CAPITALIZED words should not be accept
Replies: 7
Views: 1938

why?! well..there is a way: split it into an array: explode() function.. Then you need to check if lowercase eleement is the same as the original element in the array.. i would use === sign instead of the usuall == when checking use strtolower function and strtoupper if you wish.. play around with ...
by WiZARD
Sun Sep 25, 2005 2:40 pm
Forum: PHP coding => General
Topic: Deleting
Replies: 10
Views: 3352

Re: Deleting

I'm propose to you read more about mysql_fetch_array at the php.net site: http://www.php.net/mysql_fetch_array
by WiZARD
Sun Sep 25, 2005 2:31 pm
Forum: PHP coding => General
Topic: post variables
Replies: 2
Views: 1377

Re: post variables

dim wrote:when i have a link like test.php?value=1 to get the result(when am selecting it) am i using always $_POST['value']??????
actually, Yes. but you may use $value. But all depend what is mode of PHP you are using. I'm reccoment use exaclty $_POST['value'].
by WiZARD
Sun Sep 25, 2005 2:29 pm
Forum: PHP coding => General
Topic: ftp_connect to localhost
Replies: 3
Views: 2263

Re: ftp_connect to localhost

Hello! I have a big problem and I can't find a solution. I use ftp_connect on localhost (I'm running an FTP server) and it can't connect (timed out). Interesting is, that I can connect to this server by Total Commander, but not with PHP. And I also can connect to other servers by PHP's ftp_connect....
by WiZARD
Tue Aug 30, 2005 3:11 pm
Forum: PHP coding => General
Topic: Trouble displaying RTF file with PHP echo - Help!
Replies: 10
Views: 2739

I'm propose to you forget about RTF.
Try better open new html page without any menus, scrolls, and etc.
by WiZARD
Tue Aug 30, 2005 11:14 am
Forum: PHP coding => Images
Topic: image from videoclip
Replies: 1
Views: 2309

Re: image from videoclip

goblenro wrote:hello

I want to know how can I get one frame (one image) from one videoclip.
I have one upload form for video files, and I need to get automatic when I will upload video file, one frame( image ) from this.

Thank you
I'm don't think what it's possible.
by WiZARD
Tue Aug 30, 2005 10:27 am
Forum: PHP coding => Images
Topic: upload error
Replies: 4
Views: 3156

try to determinate current path: realpath(dirname(__FILE__))
by WiZARD
Tue Aug 30, 2005 10:06 am
Forum: PHP coding => General
Topic: Trouble displaying RTF file with PHP echo - Help!
Replies: 10
Views: 2739

I do not want that dialogue box to show to the user because I don't want to give the user the option of downloading it. I only want the user to see it and print it right from the browser. If you are do not want dialog opening to you need some RTF parser. try see at http://codewalkers.com Is there a...
by WiZARD
Tue Aug 30, 2005 9:32 am
Forum: PHP coding => General
Topic: Scraping a webpage
Replies: 1
Views: 1015

Re: Scraping a webpage

Hi all I am looking to scrape a webpage and e-mail myself when it has been updated. I think, to use this I should use file_get_contents, say, and just save the contents into a mysql database, then check it every hour or so and if changed, I can e-mail myself. Firstly, does this sound possible? Seco...
by WiZARD
Tue Aug 30, 2005 8:20 am
Forum: PHP coding => General
Topic: Trouble displaying RTF file with PHP echo - Help!
Replies: 10
Views: 2739

Hello again, Wizard, As a follow-up to my last reply, I cannot use COM objects because that requires a Windows operating system on the host server. My host provider runs Unix (or Linux). So I'm back to square one. Any other ideas? Firstly try store document somethere (root, where you are storing in...
by WiZARD
Tue Aug 30, 2005 8:14 am
Forum: PHP coding => General
Topic: Best editor for PHP
Replies: 212
Views: 199165

Very True, I shoud try too look into using editors, i just have been stuck and well stuborn on using notepad for everything i do. Which in most cases as you said "would speed up development" if using a editor. Interesting to see at yours work... made by Notepad.exe. How fast you are create CMS appl...
by WiZARD
Tue Aug 30, 2005 8:08 am
Forum: PHP coding => General
Topic: Best editor for PHP
Replies: 212
Views: 199165

PHPEdit = you cant be serious! it sucks like hell! I still dont get it why dont you use Zend Studio on Windows as well? but anyways: PHPEdit ?! sooo consused and so on.. :? Ñëûø ïåðåö áðàâûé! Åñëè òû àäìèí íà ýòîì ôîðóìå, òàê ýòî íå çíà÷èò ÷òî ó òåáÿ åñòü ïîëíîå ïðàâî îáëèâàòü ãàâíîì äðóãèõ.... òû ...
by WiZARD
Tue Aug 30, 2005 7:53 am
Forum: PHP coding => General
Topic: Trouble displaying RTF file with PHP echo - Help!
Replies: 10
Views: 2739

Re: Trouble displaying RTF file with PHP echo - Help!

Hi PHP'ers, I am building a web page that takes user input and generates an RTF file, which the user can then preview/print from the browser. Not as easy as it sounds; at least not for me. I used the PHP 'echo' command to display the RTF file in the browser, but it's not working cleanly. I want it ...
by WiZARD
Tue Aug 30, 2005 7:40 am
Forum: PHP coding => General
Topic: require with absolute path
Replies: 0
Views: 705

Re: require with absolute path

Hi I want to include a php file to my current page with : require_once ("http://localhost/include/sarbakaninclude.php"); when I use a relative path everything works but when I use the absolute path to the file I get this error : Fatal error: Call to undefined function: mainprogramnavigation() in c:...
by WiZARD
Tue Aug 30, 2005 6:54 am
Forum: PHP coding => General
Topic: Working with "Implode"
Replies: 1
Views: 1312

Re: Working with "Implode"

Hi In my script I use the following code: <?php echo pix_keywords_to_links($product_info['products_keywords']);?> The result in the browser looks like this: Tom Peter Mary Chris Jennifer But I prefer to have commas (,) between that names...should looks like this: Tom, Peter, Mary, Chris, Jennifer I...
by WiZARD
Tue Aug 30, 2005 4:10 am
Forum: mySQL & php coding
Topic: Advice for creating log in areas
Replies: 1
Views: 1146

Re: Advice for creating log in areas

Hi there people. Hope everyones brain is fine, cos php is frying mine!! Anyway, i am trying to create a website which has a login facility. I want to create different authority for those logged in. For eg. manager, admin sales staff etc. What is the best way to do this? Any ideas or suggestionsd fo...