473,795 Members | 3,279 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Listing Directory Contents For a User

This is my task and I'd like some direction please:
1. Print company that houses user PDF files

2. User logs in and is brought to his own area

3. Dynamic customer inventory page is displayed based on PDF files in
a home directory (It would be nice if the MetaTag in a PDF file could
be used here)

4. Inventory page is also "order" page that allows for the ordering of
cases of printed items

5. Each inventory item will have a place for entering a number of
cases to be ordered

6. Order is submitted and emailed to owner of company who inputs
manually into billing system
Please point me in the right direction,

Derrick

May 11 '07 #1
4 1624
On May 11, 10:22 am, dnferti...@yaho o.com wrote:
This is my task and I'd like some direction please:

1. Print company that houses user PDF files

2. User logs in and is brought to his own area

3. Dynamic customer inventory page is displayed based on PDF files in
a home directory (It would be nice if the MetaTag in a PDF file could
be used here)

4. Inventory page is also "order" page that allows for the ordering of
cases of printed items

5. Each inventory item will have a place for entering a number of
cases to be ordered

6. Order is submitted and emailed to owner of company who inputs
manually into billing system

Please point me in the right direction,

Derrick
Are you a PHP programmer? Or are you asking what you should be paying
people to do?

If you are the programmer, check out PHP's PDF functions, which I
think you can use to grab some meta data:
http://php.net/pdf

Have you ever developed a PHP website before? Are you asking
specifically how to lay out your code?

-Mike PII

May 11 '07 #2
dn********@yaho o.com wrote:
This is my task and I'd like some direction please:
1. Print company that houses user PDF files
echo $companyName;

But not knowing where the company name is stored maxes further
discussion impossible.
2. User logs in and is brought to his own area
No biggie - keep user id and password where you can access it, and save
appropriate info in the session.
3. Dynamic customer inventory page is displayed based on PDF files in
a home directory (It would be nice if the MetaTag in a PDF file could
be used here)
PDF metatags don't normally contain this information. And it's very
difficult to parse a PDF file for this info if you don't have the exact
format of the PDF in the first place. XML is the typical way to go here.

4. Inventory page is also "order" page that allows for the ordering of
cases of printed items
No problem - if you can get the inventory.
5. Each inventory item will have a place for entering a number of
cases to be ordered
Easy enough.
6. Order is submitted and emailed to owner of company who inputs
manually into billing system
No real problem - although automatically entering it would be better.
>
Please point me in the right direction,

Derrick
Way too broad to cover in a newsgroup. You need to at least get the
basic design down. Or pay someone to do it for you.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
May 12 '07 #3
On May 11, 10:11 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
dnferti...@yaho o.com wrote:
This is my task and I'd like some direction please:
1. Print company that houses user PDF files

echo $companyName;

But not knowing where the company name is stored maxes further
discussion impossible.
2. User logs in and is brought to his own area

No biggie - keep user id and password where you can access it, and save
appropriate info in the session.
3. Dynamic customer inventory page is displayed based on PDF files in
a home directory (It would be nice if the MetaTag in a PDF file could
be used here)

PDF metatags don't normally contain this information. And it's very
difficult to parse a PDF file for this info if you don't have the exact
format of the PDF in the first place. XML is the typical way to go here.
4. Inventory page is also "order" page that allows for the ordering of
cases of printed items

No problem - if you can get the inventory.
5. Each inventory item will have a place for entering a number of
cases to be ordered

Easy enough.
6. Order is submitted and emailed to owner of company who inputs
manually into billing system

No real problem - although automatically entering it would be better.
Please point me in the right direction,
Derrick

Way too broad to cover in a newsgroup. You need to at least get the
basic design down. Or pay someone to do it for you.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attgl obal.net
=============== ===
Thank you for the replies.

I am COMPLETELY new to php.

I was giving a broad overview of my task and asking for direction
because I need a starting point. I don't even know how to search
properly because I don't know the php jargon to use as keywords.

I have a little more to go on now - thanks to you guys.

Derrick

May 13 '07 #4
On May 13, 12:42 pm, dnferti...@yaho o.com wrote:
Thank you for the replies.

I am COMPLETELY new to php.

I was giving a broad overview of my task and asking for direction
because I need a starting point. I don't even know how to search
properly because I don't know the php jargon to use as keywords.

I have a little more to go on now - thanks to you guys.

Derrick
In that case, here are some relevant tutorials:

MySQL database to save data
http://www.freewebmasterhelp.com/tutorials/phpmysql

PHP sessions to remember that the user is logged in
http://www.tizag.com/phpT/phpsessions.php

Sending email in PHP (SMTP)
http://php.net/manual/en/function.mail

Submitting HTML forms to PHP
http://www.tizag.com/phpT/forms.php

-Mike PII

May 13 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1145
by: Pawe³ Ga³ecki | last post by:
I used following code to scan & list directory contents (including all subdirectories). It turns out that subdirectories are NOT recognized as directories when the function is called in a recursive way. In other words when function scans a subdirectory no directories inside are recognised as directories therefore it cannot scan ti's contents. <?php $directory = "/www/prawnik/"; function list_dir($dir) { if ($handle = opendir($dir)) {
1
3930
by: Gema Gema | last post by:
I have a large collection of directories full of various files and am looking to create custom text files for the contents of each directory. Here is the situation: The directories are named with a name and number, i.e. Smith1234567. I am looking to create a text file named with the number portion of the directory name (1234567.txt). The contents of the text file would look similar to the following, where the "TIF" files at the end of...
5
2486
by: Michael C | last post by:
....on a remote machine? Thanks, Michael C.
8
11066
by: gil | last post by:
Is it possible to prevent a browser from listing the entire contents of a folder? The site, is hosted on my ISP with the following layout- site/ "user name from ISP" pagefile (dir) index.html site/pagefile/
8
6953
by: dougawells | last post by:
Hi - I'm hoping for help with the auto-generation of a hyperlinked listing of all files in a directory. The server I use does not auto-generate this. So, when someone comes to this directory and thus opens index.htm, I want that file to show a listing of all files in the directory with hyperlinks to them. Thanks for the help, Doug
7
5500
by: epikto | last post by:
I have a mapped share that I am trying to get a listing of all the files that it contains. I use the following code to access the contents String files = Directory.GetFiles(path); I can then enumerate through that array to get my listing. However I am trying to set my application up as a service. And now (after calling methods in a thread using the OnStart() method) it says the directory does not exist (I verified this with a...
4
3251
by: techusky | last post by:
I have a *very* simple script written that displays the directory listing of the current working directory, but I am having some difficulty when I try to change folders. Basically, I have my $dir variable set to this: --- $dir = getcwd() . "\\" . $nav; --- but for some reason the script does not actually display the contents of the directory if you change from the directory the script is located in. Here is my code if someone is willing...
2
1671
by: Jesse.Aufiero | last post by:
Hello, I'd like my asp.net page to display a list of hyperlinks representing the files contained in a specific directory. The contents of this directory will change, but the directory does not contain any subfolders, only pdf files. The resulting list of hyperlinks should not allow a user to 'save
1
2176
by: mocolvin | last post by:
I am looking for a Perl script that will do a cleaner job of listing the contents of a directory than what Apache does on its own. I would like the script to create a list of links to enable files in a given directory to be downloaded. The PHP utility that I had been using for that purpose had a security hole that was exploited by hackers.
0
9519
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10435
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10163
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10000
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9037
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.