Jump to content

Passing some work to another programer is this acceptable


cooldude832

Recommended Posts

This is the first php script I'm really passing on to another person to use is what I am doing okay?

 

Its a reverse engineering of emails, it phrases a batch of emails in reverse and then stores them in an array shaped like this

$data[$email_number]['Header_data']['Header fields']

$data[$email-Number']['Body_data']['Reversed Fields'];

 

So he can run a foreach loop on it, but is this okay to do?

Link to comment
Share on other sites

well its a reversed engineered email so I can't give you the code, but the data is like

 

 

Array

(

    [0] => Array

        (

            [items] => Array

                (

                    [0] => Array

                        (

                            [Description] => SWEETHEART ROSE BOUQUET - 18 STEMS W/VASE

                        )

 

                )

 

            [shipping_Address] =>

            [subtotal] => $29.99

            [shipping_cost] => $10.99

            [Tax] => $0.00

            [Total] => $40.98

            [billing_Address] => 

            [Order_number] => W00442101216543

            [Purchase_date] => 11/29/2007

            [Purchaser] => XXXXXX@gmail.com

            [Merchant] => flowers1800

        )

 

    [1] => Array

        (

            [Purchase_date] => 11/26/2007

            [Order_number] =>

            [Total] => $36.48

            [subtotal] => $24.99

            [Tax] => $1.50

            [shipping_cost] => $9.99

            [shipping_method] => USA Overnight

            [items] => Array

                (

                    [0] => Array

                        (

                            [Description] => Resident Evil 4 Wii Edition- - $5 Off!

                            [Qty] => 1

                            [Cost] => $24.99

                        )

 

                )

 

            [Purchaser] => XXXXXXX@gmail.com

            [Merchant] => Gamestop

        )

 

    [2] => Array

        (

            [billing_address] => 

            [shipping_address] => 

            [Total] => $20.00

            [Order_number] => XXXXXXX

            [shipping_method] => Standard

            [subtotal] => $10.80

            [shipping_cost] => $9.20

            [items] => Array

                (

                    [0] => Array

                        (

                            [Description] => Griffin 8127-5GSTRLNB Streamline Armband for iPod Classic and iPod 5G (Black)

                        )

 

                )

 

            [Purchase_date] => 11/28/2007

            [Purchaser] => *******p@gmail.com

            [Merchant] => Amazon

        )

 

    [3] => Array

        (

            [Purchaser] => *******@gmail.com

            [Merchant] => DrsFosterSmith

        )

 

    [4] => Array

        (

            [Purchaser] => *******@gmail.com

            [Merchant] => vmoda

        )

 

    [5] => Array

        (

            [Order_number] => XXXXXXXX

            [items] => Array

                (

                    [0] => Array

                        (

                            [Qty] => 1

                            [Description] => Saitek A100 MySpkr Personal Stereo Speaker

                        )

 

                )

 

            [Purchase_date] => 10/19/2007

            [Total] => $17.99

            [Purchaser] => ********@gmail.com

            [Merchant] => Woot

        )

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.