I was trying to figure out how would you write a function in MySQL using C. I saw that theres a CREATE FUNCTION syntax but am confused on how to compile and write a C function.
For example if I wanted to write a function that added an extra period after every period and called it ADD_PERIOD()...
Hi,
My problem is how do I create a rank column for a query. Meaning depending on a students score they will have a rank of 4 for example. Also if two students ahve the same score there rank should be the same and the next students rank would be 2 more. I tried using a global variable but dont...
I have a question about .nsconfig files. Is there a way to extract the userid to a perl program so the perl program knows which user is accessing it.
For example a page is password protected and when a user accesses it through a .nsconfig file he/she then fills out a form. Is there a way for...
How do i change the id of a program from nobody to a username. I want to do this so I can write to directories without chmoding it 777. I know theres a way to do this but I'm not sure how.
Thanks a lot!
ok thanks goBoating that helps a lot. And yes the form and data is placed in an html table. Like each row of the table has a checkbox for edit or delete and then the name of the book type thing. I just wanted to know how to parse the table to get the values easily. Thanks.
Hi I'm writing a program that allows users to check in, check out, or delete books from a library. all the data is in a html table. I was wondering if there was an easy way of reading data from a table. Or do I have to parse it looking for the <td> and <tr> tags which is teadious. Thanks for any...
How can I get my program to check something once every hour up to 12 hours in which case it would end. I want it to sleep in between checks as to limit excessive memory use. Is there a way to put the program to sleep or a good way that you guys know of to save memory during this process. Also...
Hi
I was wondering if there was a way to launch an application over a plug-in. The problem is opening a pdf with the plugin of Acrobat doesn't include a search that the regular application of Acrobat has. I was wondering if theres a way with javascript to open up the application of Acrobat...
I wrote a small upload program. If an error occurs during the opload I want the program to print an error to the screen and then redirected back to form after 5 seconds. Meaning first it says "Sorry file too large" and then is redirected back to the original form.
I use this to...
My question is pretty simple. I'm uploading a file from a user and trying to upload it to a server. However for some reason I can't open up a new file to store the information.
open(FILE, ">$filepath");
print FILE $CGI{'upload'}->{'Contents'};
close (FILE) || die "Error close...
Hi I'm trying to write a perl program that allows a user to upload files from a server. For the uploading process I'm just using the ftp functions which work fine. I was wondering though how do I get a one of those windows that popup and show the directories and files. Just like when you save as...
I have a cgi program that writes to different webpages. One webpage is in a directory with permissions of 000. I was wondering how I could changes its permissions within the perl program. So I would ended up changing that directory from 000 to 777 then write to it and then change it back to 000...
Thanks a lot. After reading your post I think its true that youd have to use a Win32:API module over some UNIX command thanks a lot. There must be some command to have the user login and have it checked to htaccess file so you can get the file written to. Do you have any idea which Win32:API...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.