Re: [PHP-DB] Need help in PHP file Management System

2009-09-17 Thread Vinay Kannan
, but the files would be accesible to me alone, not the other visitors of the website. Guys please correct me if I am wrong, but I think this is a good possible way of doing it. Thanks, Vinay Kannan On Thu, Sep 17, 2009 at 10:05 AM, nagendra prasad nagendra802...@gmail.comwrote: Hi All, I need help in PHP

[PHP-DB] scheduler

2009-09-23 Thread Vinay Kannan
Hi, I am developing a web application in PHP, the db is mysql. I want to develop something like a batch file, which would run everyday, query mysql and throw the output to another table which would then perform some additional functions. Is something like this possible?? i am working on windows

Re: [PHP-DB] scheduler

2009-09-23 Thread Vinay Kannan
is that the tasks are run and the functions are performed even if theres no one to run in the command, that can be done right? Vinay Kannan. On Wed, Sep 23, 2009 at 5:40 PM, Niel Archer n...@chance.now wrote: Hi, I am developing a web application in PHP, the db is mysql. I want

Re: [PHP-DB] Need help in PHP file Management System

2009-09-23 Thread Vinay Kannan
Hi Nagendra, Any progress on the task you were at? On Fri, Sep 18, 2009 at 12:40 AM, nagendra prasad nagendra802...@gmail.comwrote: Eric, I am new to file or content management. So, if possible can you send me few scripts or some links from where I can learn more about it? Best,

[PHP-DB] PHP on Pear

2009-10-15 Thread Vinay Kannan
for myself, and I would want to keep changing the code all the time. Can someone guide me on this please? Thanks, Vinay Kannan.

[PHP-DB] Redirect upon successful form submission

2009-12-15 Thread Vinay Kannan
Hi, I have 2 pages on php, the first page has a small form to accept a membership number from the user, which checks for membership number in the DB, if the membership no does not exist, gives an error saying 'you are not a member click here to become a member now', this bit works fine. The

Re: [PHP-DB] Redirect upon successful form submission

2009-12-15 Thread Vinay Kannan
PM, Vinay Kannan viny...@gmail.com wrote: Hi, I have 2 pages on php, the first page has a small form to accept a membership number from the user, which checks for membership number in the DB, if the membership no does not exist, gives an error saying 'you are not a member click here

Re: [PHP-DB] Redirect upon successful form submission

2009-12-15 Thread Vinay Kannan
in a seperate php file with no output and then redirect to the error and the another page ? Bastien Koert schrieb: On Tue, Dec 15, 2009 at 12:48 PM, Vinay Kannan viny...@gmail.com wrote: Hi, I have 2 pages on php, the first page has a small form to accept a membership number from the user, which

[PHP-DB] auto creation of email IDs

2009-12-16 Thread Vinay Kannan
in the right direction or help me on this one, please ? Thanks in Advance, Vinay Kannan.

Re: [PHP-DB] auto creation of email IDs

2009-12-18 Thread Vinay Kannan
after couple of months. So basically, what I am looking at is, a way to be able to create email IDs on a Linux server, when people post comments, how can this be done? Thanks, Vinay Kannan. On Thu, Dec 17, 2009 at 4:38 PM, Barry Stear bst...@gmail.com wrote: When the users register are you

Re: [PHP-DB] auto creation of email IDs

2009-12-18 Thread Vinay Kannan
it with their IP address + current time if they are just posting comments. Or user ID + current time if they are registered users leaving comments. This may be more of a workaround, but it will get you unique numbers. Karl Sent from losPhone On Dec 18, 2009, at 9:39 AM, Vinay Kannan viny...@gmail.com

[PHP-DB] help in implementing a progress bar

2010-01-07 Thread Vinay Kannan
Hello, Theres this project that I am working on, and a specific module does take few secs to process, I am thinking it would be cool to be showing a progress bar(some kind on a .gif image) while the script runs, does any one have an idea how to implement this? Thanks, Vinay K

Re: [PHP-DB] Online PHP-Mysql Meeting

2010-03-17 Thread Vinay Kannan
Hey, We could also use a web sharing application, theres this one web sharing application i know for presentations, but the trial version is restricted to 25 at a time. Thanks, Vinay Kannan. On Mon, Mar 15, 2010 at 1:35 AM, nagendra prasad nagendra802...@gmail.comwrote: Hi David, I am glad

[PHP-DB] help needed.

2010-03-17 Thread Vinay Kannan
PHP, APACHE, MySQL, can something like this be done, i am sure it can be done, but how do I do it, any guidelines please? Thanks, Vinay Kannan.

Re: [PHP-DB] Re: help needed.

2010-03-18 Thread Vinay Kannan
/ http://www.server2go-web.de/ http://www.indigostar.com/microweb.php PHP EXE Compiler/Embedder : http://www.bambalam.se/bamcompile/ p.s.: Make sure you encode your PHP codes before distributing... Vinay Kannan wrote

[PHP-DB] reading PDF file into a DB

2010-04-07 Thread Vinay Kannan
Hello Guys, I am working on a project, which requires a PDF file to be read page wise into the DB, once it has been uploaded, the contents from the PDF would then appear on a Flash screen. I need help reading the contents of the PDF file into DB retaining the page numbers, does anyone have an

[PHP-DB] session management

2010-04-22 Thread Vinay Kannan
Hey Guys, I need some help on an effficient session management, right now what I do is check if the user has loggedin using his username, and create a SESSION['logged']=1, setting a login flag actually, I am not sure if this is the best way ? What do you guys use for sessions, and which is the

Re: [PHP-DB] session management

2010-04-22 Thread Vinay Kannan
into consideration but setting a flag per user session is indeed one method of ensuring a user has authenticated. Vinay Kannan wrote: Hey Guys, I need some help on an effficient session management, right now what I do is check if the user has loggedin using his username, and create a SESSION

Re: [PHP-DB] Image linking help in PHP

2010-07-04 Thread Vinay Kannan
So basically you want to be able to associate an image with an Mp3, and the path to the mp3 is stored in the DB, right ? If above is the case, why dont you upload the image to an image folder, and save the path to the image in the DB too along with mp3 path details, I think this should work !

[PHP-DB] PHP application hosted on a dektop ubuntu(localhost) vs A .NET software installed on Windows

2010-08-05 Thread Vinay Kannan
of you have come across situations like these and offered solutions like this if atall Thanks, Vinay Kannan.

Re: [PHP-DB] PHP application hosted on a dektop ubuntu(localhost) vs A .NET software installed on Windows

2010-08-06 Thread Vinay Kannan
are avoiding the process of an installable software, I think that may actually be what you are trying. regards, Maarten On Fri, 2010-08-06 at 07:45 +0530, Vinay Kannan wrote: Hi, I need some help and its actually got nothing to do with any coding help. My friend owns a business and has

Re: [PHP-DB] PHP application hosted on a dektop ubuntu(localhost) vs A .NET software installed on Windows

2010-08-06 Thread Vinay Kannan
Sent from my iPhone On Aug 6, 2010, at 1:13 PM, Vinay Kannan viny...@gmail.com wrote: Thanks for your reply Maarten, Its a hotel management application for a hotel.. Thanks, Vinay On Fri, Aug 6, 2010 at 1:03 PM, maarten maarten.fo...@edchq.com wrote: Hello, without further

Re: [PHP-DB] Unable to connect to mysql database

2010-08-11 Thread Vinay Kannan
I am guessing the message unable to connect to database is something you have echoed on a die() or as an error message, could you tell us what is the step before this. Also just check if the database is set correctly, and the user name and the password is correct. Some hosts use the host as

[PHP-DB] finding out if a user left our website ?

2010-08-25 Thread Vinay Kannan
Hello Guys, Wanted to know if there is a way for us to find out, when a user moves away from our website( closing the window and entering a different url in the address bar ) closing the window i guess, we could use the javascript onclose or something similar but for the user moving away from my

Re: [PHP-DB] finding out if a user left our website ?

2010-08-27 Thread Vinay Kannan
Thank you everyone window.onunload() function works perfect, thats what I was looking for !! Thanks, Vinay Kannan. On Thu, Aug 26, 2010 at 3:24 AM, kesavan trichy rengarajan k...@trk7.comwrote: Have a look at this: https://developer.mozilla.org/en/DOM/window.onunload https

Re: [PHP-DB] Re: Need Help with database output

2010-08-30 Thread Vinay Kannan
Whats Dreamweaver php codes. It automatically does the coding ?? Never even knew about such a thing Thanks, Vinay On Mon, Aug 30, 2010 at 9:44 PM, nagendra prasad nagendra802...@gmail.comwrote: Hi All, Thanks for all your replies. I have found what I needed. I used Dreamweaver to show the

[PHP-DB] formatting a word doc using php ?

2010-09-17 Thread Vinay Kannan
Hello Xperts, I am trying out a couple of things and have come across this requirement, where in a php script should create a doc file with specific formatting, I can create the file, havent tried it yet, but shouldnt be a problem I guess, but how do I format the doc file is the question, google

[PHP-DB] query help

2010-11-17 Thread Vinay Kannan
the function call would be something like * insert_into_tbale(users,array[user_values])* ** Does this make sense ? Is this a good method to follow ? Thanks in advance ! Vinay Kannan.

[PHP-DB] PDO Vs MySQLi Vs SQL Queries.

2012-02-27 Thread Vinay Kannan
there is a chance that these might slow the querying process? Please advice. Any help is appreciated. Thanks, Vinay Kannan.

Re: [PHP-DB] PDO Vs MySQLi Vs SQL Queries.

2012-02-28 Thread Vinay Kannan
ORM http://redbeanphp.com sliced my dev type in 4 :) On Tue, Feb 28, 2012 at 6:22 AM, Vinay Kannan viny...@gmail.com wrote: Hey Guys, I came across this article. http://net.tutsplus.com/tutorials/php/pdo-vs-mysqli-which-should-you-use/ Though I've been working with PHP for over 2 yrs, i

[PHP-DB] Session and Access Privilages.

2012-03-29 Thread Vinay Kannan
Hey, I am working on the application, thought its not OOP currently, I plan to take it further in a year or so. Right now, I have 4 access levels which define what the users can do on the application. Based on the access levels defined, a session varialble is set called $_SESSION['authtype'], and

Re: [PHP-DB] Session and Access Privilages.

2012-03-29 Thread Vinay Kannan
Yup, With some help from Jey earlier today, I was able to figure it out.. I only realized it later, how easy it was since all the auth types were being set already, the same piece of code at the beginning of every page should have been good ! Thanks, Vinay On Thu, Mar 29, 2012 at 7:28 PM,

[PHP-DB] Engine?

2012-04-15 Thread Vinay Kannan
about the data safety, as in crash recovery or auto backups etc... Basically, if the MySQL DB crashes, we sholdnt be at a loss, and all the data till the very last operation should be available as a backup. Any headsup on this please? Thanks, Vinay Kannan.

Re: [PHP-DB] Engine?

2012-04-16 Thread Vinay Kannan
Awesome Thank You Guys! A better scalable DB was on my mind, looks like I might have to go for much before I thought I might have to go ahead with :) Going through the resources provided, Thank You for the headsup!! Vinay Kannan. On Mon, Apr 16, 2012 at 4:44 PM, Matijn Woudt tijn...@gmail.com

[PHP-DB] School timetable in php

2012-04-20 Thread Vinay Kannan
hey, I am trying to develop a school time table system in php mysql, anybody has any headsup on the same, i was thinking about some existing scripts to take a look at. Thanks, Vinay

Re: [PHP-DB] Mysql PDO statement with params in HAVING problem

2013-06-27 Thread Vinay Kannan
$stmt = $dbh-prepare(SELECT concat(first_name,' ',last_name) as full_name,t.* FROM `specialists` `t` HAVING full_name like '%:query%'); How about '%:$query%' instead of '%:query%' ? Does that solve the problem? Thanks, On Thu, Jun 27, 2013 at 5:21 PM, Alexander Pletnev

Re: [PHP-DB] mysql query

2013-08-22 Thread Vinay Kannan
$sql2 = insert into Inventory (UPC, quant, manuf, item, orderpt, ordrpt_flag, stock) values ('$upc', '$qnt','$mnf','$itm', '$odrpt', 0, $stk); Looks like, you have the ' ' missing for $qnt and odrpt had the $ and the '' missing. The above query should work, I haven't tested it though. Also for

Re: [PHP-DB] Re: mysql query

2013-08-22 Thread Vinay Kannan
Jim, I know this is a stupid question to be asking this far into PHP Development, maybe was a bit lazy, or just got too used to Notepad++, which editor for PHP are you using? The feature which you mentioned for a good php editor, sounds exciting, offcourse i would be looking only at the free ones

Re: [PHP-DB] Re: mysql query

2013-08-22 Thread Vinay Kannan
be automatic - are you using something other than 'php' as a file extension? Toby On 8/22/2013 5:27 PM, Vinay Kannan wrote: Jim, I know this is a stupid question to be asking this far into PHP Development, maybe was a bit lazy, or just got too used to Notepad++, which editor for PHP

[PHP-DB] Billing Module in PHP

2014-01-08 Thread Vinay Kannan
I am working on an appplication with a Billing Module. The customers will pay in the following manner. 1) Signing up Fees, at this time they will choose they payment intervals, monthly, quaterly, 6 months or annual. 2) A customer can also change the billing type at a later time, Eg: after paying

[PHP-DB] Workout Schedule Calendar

2014-02-28 Thread Vinay Kannan
Hi Experts, A very good morning to you guys! I need your help with something that I am working on currently, its a web application for Workouts, I've been asked to include a work out schedule calendar and I am not very sure as to how to proceed on the same. *Scenario:* Lets say there are about